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
Copy file name to clipboardExpand all lines: mbed/mbed.py
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1877,13 +1877,14 @@ def thunk(parsed_args):
1877
1877
dict(name='--depth', nargs='?', help='Number of revisions to fetch the mbed OS repository when creating new program. Default: all revisions.'),
1878
1878
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.'),
1879
1879
dict(name='--offline', action='store_true', help='Offline mode will force the use of locally cached repositories and prevent requests to remote repositories.'),
1880
+
dict(name='--no-requirements', action='store_true', help='Disables checking for and installing any requirements.'),
1880
1881
help='Create new mbed program or library',
1881
1882
description=(
1882
1883
"Creates a new mbed program if executed within a non-program location.\n"
1883
1884
"Alternatively creates an mbed library if executed within an existing program.\n"
1884
1885
"When creating new program, the latest mbed-os release will be downloaded/added\n unless --create-only is specified.\n"
dict(name='--protocol', nargs='?', help='Transport protocol for the source control management. Supported: https, http, ssh, git. Default: inferred from URL.'),
1964
1965
dict(name='--insecure', action='store_true', help='Allow insecure repository URLs. By default mbed CLI imports only "safe" URLs, e.g. based on standard ports - 80, 443 and 22. This option enables the use of arbitrary URLs/ports.'),
1965
1966
dict(name='--offline', action='store_true', help='Offline mode will force the use of locally cached repositories and prevent requests to remote repositories.'),
1967
+
dict(name='--no-requirements', action='store_true', help='Disables checking for and installing any requirements.'),
1966
1968
hidden_aliases=['im', 'imp'],
1967
1969
help='Import program from URL',
1968
1970
description=(
1969
1971
"Imports mbed program and its dependencies from a source control based URL\n"
1970
1972
"(GitHub, Bitbucket, mbed.org) into the current directory or specified\npath.\n"
1971
1973
"Use \"mbed add <URL>\" to add a library into an existing program."))
dict(name='--protocol', nargs='?', help='Transport protocol for the source control management. Supported: https, http, ssh, git. Default: inferred from URL.'),
2042
2044
dict(name='--insecure', action='store_true', help='Allow insecure repository URLs. By default mbed CLI imports only "safe" URLs, e.g. based on standard ports - 80, 443 and 22. This option enables the use of arbitrary URLs/ports.'),
2043
2045
dict(name='--offline', action='store_true', help='Offline mode will force the use of locally cached repositories and prevent requests to remote repositories.'),
2046
+
dict(name='--no-requirements', action='store_true', help='Disables checking for and installing any requirements.'),
2044
2047
hidden_aliases=['ad'],
2045
2048
help='Add library from URL',
2046
2049
description=(
2047
2050
"Adds mbed library and its dependencies from a source control based URL\n"
2048
2051
"(GitHub, Bitbucket, mbed.org) into an existing program.\n"
2049
2052
"Use \"mbed import <URL>\" to import as a program"))
dict(name='--protocol', nargs='?', help='Transport protocol for the source control management. Supported: https, http, ssh, git. Default: inferred from URL.'),
2091
2095
dict(name='--insecure', action='store_true', help='Allow insecure repository URLs. By default mbed CLI imports only "safe" URLs, e.g. based on standard ports - 80, 443 and 22. This option enables the use of arbitrary URLs/ports.'),
2092
2096
dict(name='--offline', action='store_true', help='Offline mode will force the use of locally cached repositories and prevent requests to remote repositories.'),
2097
+
dict(name='--no-requirements', action='store_true', help='Disables checking for and installing any requirements.'),
2093
2098
help='Find and add missing libraries',
2094
2099
description=(
2095
2100
"Import missing dependencies in an existing program or library.\n"
2096
2101
"Hint: Use \"mbed import <URL>\" and \"mbed add <URL>\" instead of cloning\n"
0 commit comments