Ejemplo n.º 1
0
 def Args(cls, parser):
     flags.AddParentArgs(
         parser, 'The project which is the root asset.',
         'The ID of the organization which is the root asset.',
         'The ID of the folder which is the root asset.')
     flags.AddSnapshotTimeArgs(parser)
     flags.AddAssetTypesArgs(parser)
     flags.AddContentTypeArgs(parser, required=False)
     flags.AddDestinationArgs(parser)
Ejemplo n.º 2
0
 def Args(parser):
     parent_group = parser.add_mutually_exclusive_group(required=True)
     flags.AddOrganizationArgs(
         parent_group,
         'The ID of the organization which is the root asset.')
     common_args.ProjectArgument(
         help_text_to_prepend='The project which is the root asset.'
     ).AddToParser(parent_group)
     flags.AddSnapshotTimeArgs(parser)
     flags.AddAssetTypesArgs(parser)
     flags.AddListContentTypeArgs(parser)
     base.URI_FLAG.RemoveFromParser(parser)
Ejemplo n.º 3
0
def AddCommonExportFlags(parser):
  flags.AddParentArgs(parser)
  flags.AddSnapshotTimeArgs(parser)
  flags.AddAssetTypesArgs(parser)
  flags.AddContentTypeArgs(parser, required=False)
 def Args(parser):
     flags.AddParentArgs(parser)
     flags.AddSnapshotTimeArgs(parser)
     flags.AddAssetTypesArgs(parser)
     flags.AddContentTypeArgs(parser, required=False)
     flags.AddOutputPathArgs(parser)
Ejemplo n.º 5
0
 def Args(parser):
     flags.AddParentArgs(parser)
     flags.AddSnapshotTimeArgs(parser)
     flags.AddAssetTypesArgs(parser)
     flags.AddContentTypeArgs(parser, required=False)
     flags.AddDestinationArgs(parser)