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='--depth', nargs='?', help='Number of revisions to fetch the mbed OS repository when creating new program. Default: all revisions.'),
1877
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.'),
1878
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.'),
1879
1881
help='Create new mbed program or library',
1880
1882
description=(
1881
1883
"Creates a new mbed program if executed within a non-program location.\n"
1882
1884
"Alternatively creates an mbed library if executed within an existing program.\n"
1883
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.'),
1963
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.'),
1964
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.'),
1965
1968
hidden_aliases=['im', 'imp'],
1966
1969
help='Import program from URL',
1967
1970
description=(
1968
1971
"Imports mbed program and its dependencies from a source control based URL\n"
1969
1972
"(GitHub, Bitbucket, mbed.org) into the current directory or specified\npath.\n"
1970
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.'),
2041
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.'),
2042
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.'),
2043
2047
hidden_aliases=['ad'],
2044
2048
help='Add library from URL',
2045
2049
description=(
2046
2050
"Adds mbed library and its dependencies from a source control based URL\n"
2047
2051
"(GitHub, Bitbucket, mbed.org) into an existing program.\n"
2048
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.'),
2090
2094
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.'),
2091
2095
dict(name='--offline', action='store_true', help='Offline mode will force the use of locally cached repositories and prevent requests to remote repositories.'),
2096
+
dict(name='--no-requirements', action='store_true', help='Disables checking for and installing any requirements.'),
2092
2097
help='Find and add missing libraries',
2093
2098
description=(
2094
2099
"Import missing dependencies in an existing program or library.\n"
2095
2100
"Hint: Use \"mbed import <URL>\" and \"mbed add <URL>\" instead of cloning\n"
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.'),
2178
2183
dict(name='--offline', action='store_true', help='Offline mode will force the use of locally cached repositories and prevent requests to remote repositories.'),
2179
2184
dict(name=['-l', '--latest-deps'], action='store_true', help='Update all dependencies to the latest revision of their current branch. WARNING: Ignores lib files'),
2185
+
dict(name='--no-requirements', action='store_true', help='Disables checking for and installing any requirements.'),
2180
2186
hidden_aliases=['up'],
2181
2187
help='Update to branch, tag, revision or latest',
2182
2188
description=(
2183
2189
"Updates the current program or library and its dependencies to specified\nbranch, tag or revision.\n"
2184
2190
"Alternatively fetches from associated remote repository URL and updates to the\n"
0 commit comments