mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
Merge pull request #165 from efiop/basic_cloud2
cli: replace "dvc instance-create" with "dvc cloud create"
This commit is contained in:
+12
-3
@@ -263,10 +263,19 @@ def parse_args(argv=None):
|
||||
help='Reset target.')
|
||||
target_parser.set_defaults(func=CmdTarget)
|
||||
|
||||
# Cloud
|
||||
cloud_parser = subparsers.add_parser(
|
||||
'cloud',
|
||||
parents=[parent_parser],
|
||||
help='Cloud manipulation')
|
||||
cloud_subparsers = cloud_parser.add_subparsers(
|
||||
dest='cmd',
|
||||
help='Use dvc cloud CMD --help for command-specific help')
|
||||
|
||||
# Instance create
|
||||
instance_create_parser = subparsers.add_parser('instance-create',
|
||||
parents=[parent_parser],
|
||||
help='Create cloud instance')
|
||||
instance_create_parser = cloud_subparsers.add_parser(
|
||||
'create',
|
||||
help='Create cloud instance')
|
||||
instance_create_parser.add_argument('name',
|
||||
# metavar='',
|
||||
nargs='?',
|
||||
|
||||
Reference in New Issue
Block a user