示例#1
0
 def Args(parser):
     flags.AddServiceVersionSelectArgs(parser, short_flags=True)
     parser.add_argument('instance', help='The instance ID.')
     parser.add_argument(
         '--container',
         help='Name of the container within the VM to connect to.')
     parser.add_argument('command',
                         nargs=argparse.REMAINDER,
                         help='Remote command to execute on the VM.')
示例#2
0
    def Args(parser):
        flags.AddServiceVersionSelectArgs(parser)

        parser.add_argument('--recurse',
                            action='store_true',
                            help='Upload directories recursively.')

        parser.add_argument('--compress',
                            action='store_true',
                            help='Enable compression.')

        parser.add_argument('sources',
                            help='Specifies the files to copy.',
                            metavar='[INSTANCE:]SRC',
                            nargs='+')

        parser.add_argument(
            'destination',
            help='Specifies a destination for the source files.',
            metavar='[INSTANCE:]DEST')
示例#3
0
 def Args(parser):
   flags.AddServiceVersionSelectArgs(parser)
   _ArgsCommon(parser)
示例#4
0
 def Args(parser):
   flags.AddServiceVersionSelectArgs(parser, short_flags=True)
   _ArgsCommon(parser)