You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dict(name='--create-only', action='store_true', help='Only create program, do not import mbed-os or mbed library.'),
1381
1386
dict(name='--depth', nargs='?', help='Number of revisions to fetch the mbed OS repository when creating new program. Default: all revisions.'),
1382
1387
dict(name='--protocol', nargs='?', help='Transport protocol when fetching the mbed OS repository when creating new program. Supported: https, http, ssh, git. Default: inferred from URL.'),
1383
-
help='Create a new program based on the specified source control management. Will create a new library when called from inside a program. Supported SCMs: %s.'% (', '.join([s.nameforsinscms.values()])))
1388
+
description='Create new mbed program or library. Will create a new library when called from inside a program. Supported SCMs: %s.'% (', '.join([s.nameforsinscms.values()])),
dict(name=['-I', '--ignore'], action='store_true', help='Ignore errors related to cloning and updating.'),
1449
1455
dict(name='--depth', nargs='?', help='Number of revisions to fetch from the remote repository. Default: all revisions.'),
1450
1456
dict(name='--protocol', nargs='?', help='Transport protocol for the source control management. Supported: https, http, ssh, git. Default: inferred from URL.'),
1451
-
help='Import a program and its dependencies into the current directory or specified destination path.')
1457
+
description='Import a program and its dependencies into the current directory or specified destination path.',
dict(name=['-I', '--ignore'], action='store_true', help='Ignore errors related to cloning and updating.'),
1507
-
dict(name='--depth', nargs='?', help='Number of revisions to fetch from the remote repository. Default: all revisions.'),
1508
-
dict(name='--protocol', nargs='?', help='Transport protocol for the source control management. Supported: https, http, ssh, git. Default: inferred from URL.'),
1509
-
help='Import missing dependencies in the current program or library.')
dict(name='path', nargs='?', help='Destination name or path. Default: current folder.'),
1531
1515
dict(name=['-I', '--ignore'], action='store_true', help='Ignore errors related to cloning and updating.'),
1532
1516
dict(name='--depth', nargs='?', help='Number of revisions to fetch from the remote repository. Default: all revisions.'),
1533
1517
dict(name='--protocol', nargs='?', help='Transport protocol for the source control management. Supported: https, http, ssh, git. Default: inferred from URL.'),
1534
-
help='Add a library and its dependencies into the current %s or specified destination path.'%cwd_type)
1518
+
description='Add a library and its dependencies into the current %s or specified destination path.'%cwd_type,
dict(name='path', help='Local library name or path'),
1553
-
help='Remove specified library and its dependencies from the current %s.'%cwd_type)
1538
+
description='Remove specified library and its dependencies from the current %s.'%cwd_type,
1539
+
help='Remove library')
1554
1540
defremove(path):
1555
1541
repo=Repo.fromrepo()
1556
1542
ifnotRepo.isrepo(path):
@@ -1563,10 +1549,35 @@ def remove(path):
1563
1549
repo.unignore(relpath(repo.path, lib.path))
1564
1550
1565
1551
1552
+
# Deploy command
1553
+
@subcommand('deploy',
1554
+
dict(name=['-I', '--ignore'], action='store_true', help='Ignore errors related to cloning and updating.'),
1555
+
dict(name='--depth', nargs='?', help='Number of revisions to fetch from the remote repository. Default: all revisions.'),
1556
+
dict(name='--protocol', nargs='?', help='Transport protocol for the source control management. Supported: https, http, ssh, git. Default: inferred from URL.'),
1557
+
description='Import missing dependencies in the current program or library.',
dict(name=['-I', '--ignore'], action='store_true', help='Ignore errors related to unpublished libraries, unpublished or uncommitted changes, and attempt to update from associated remote repository URLs.'),
1609
1620
dict(name='--depth', nargs='?', help='Number of revisions to fetch from the remote repository. Default: all revisions.'),
1610
1621
dict(name='--protocol', nargs='?', help='Transport protocol for the source control management. Supported: https, http, ssh, git. Default: inferred from URL.'),
1611
-
help='Update current %s and its dependencies from associated remote repository URLs.'%cwd_type)
1622
+
description='Update current %s and its dependencies from associated remote repository URLs.'%cwd_type,
# Command status for cross-SCM status of repositories
1781
1795
@subcommand('status',
1782
1796
dict(name=['-I', '--ignore'], action='store_true', help='Ignore errors related to missing libraries.'),
1783
-
help='Show status of the current %s and its dependencies.'%cwd_type)
1797
+
description='Show changes status of the current %s and its dependencies.'%cwd_type,
1798
+
help='Show version control status\n\n')
1784
1799
defstatus_(ignore=False):
1785
1800
repo=Repo.fromrepo()
1786
1801
ifrepo.dirty():
@@ -1804,7 +1819,8 @@ def status_(ignore=False):
1804
1819
dict(name='--library', dest='compile_library', action='store_true', help='Compile the current %s as a static library.'%cwd_type),
1805
1820
dict(name='--tests', dest='compile_tests', action='store_true', help='Compile tests in TESTS directory.'),
1806
1821
dict(name='--test_spec', dest="test_spec", help="Destination path for a test spec file that can be used by the Greentea automated test tool. (Default is 'test_spec.json')"),
1807
-
help='Compile program using the native mbed OS build system.')
1822
+
description='Compile program using the native mbed OS build system.',
1823
+
help='Compile program using the mbed build tools')
0 commit comments