Exemplo n.º 1
0
    def Args(parser):
        """Set up arguements for this command.

    Args:
      parser: An argparse.ArgumentPaser.
    """
        flags.GetRepoArgFromBeta().AddToParser(parser)

        parser.add_argument('--gcs-source',
                            metavar='GCS_SOURCE',
                            required=True,
                            type=arg_parsers.ArgList(),
                            help="""\
            The Google Cloud Storage location of a package to import.""")
    def Args(parser):
        """Set up arguements for this command.

    Args:
      parser: An argparse.ArgumentPaser.
    """
        flags.GetRepoArgFromBeta().AddToParser(parser)
        base.ASYNC_FLAG.AddToParser(parser)

        parser.add_argument('--source',
                            metavar='SOURCE',
                            required=True,
                            help="""\
            The path of a package to upload.""")