def Args(parser): """Args is called by calliope to gather arguments for this command. Args: parser: An argparse parser that you can use to add arguments that go on the command line after this command. Positional arguments are allowed. """ common_flags.operation_flag( suffix='on which to wait').AddToParser(parser)
def Args(parser): """Args is called by calliope to gather arguments for this command. Args: parser: An argparse parser that you can use to add arguments that go on the command line after this command. Positional arguments are allowed. """ common_flags.operation_flag(suffix='to describe').AddToParser(parser) parser.display_info.AddFormat( ':(metadata.startTime.date(format="%Y-%m-%d %H:%M:%S %Z", tz=LOCAL)) ' '[transforms] default') parser.add_argument( '--full', action='store_true', default=False, help=('Print the entire operation resource, which could be large. ' 'By default, a summary will be printed instead.'))
def Args(parser): """Args is called by calliope to gather arguments for this command. Args: parser: An argparse parser that you can use to add arguments that go on the command line after this command. Positional arguments are allowed. """ common_flags.operation_flag(suffix='to describe').AddToParser(parser) parser.display_info.AddFormat( ':(metadata.startTime.date(format="%Y-%m-%d %H:%M:%S %Z", tz=LOCAL)) ' '[transforms] default') action = actions.DeprecationAction('full', warn='This flag is deprecated.') parser.add_argument('--full', action=action, default=False, help=('This flag is deprecated.'))