Example #1
0
    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)
Example #2
0
    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)
Example #3
0
  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.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.'))
Example #4
0
    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.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.'))