def Args(parser):
     parser.display_info.AddFormat(DEFAULT_LIST_FORMAT)
     base.URI_FLAG.RemoveFromParser(parser)
     flags.GetRepoFlag().AddToParser(parser)
     parser.add_argument(
         '--package',
         required=False,
         help=
         'List all files in a specified artifact, such as a container image or a language package. If you do not use --tag or --version in the command, the command lists files in all versions of the artifact.'
     )
     parser.add_argument(
         '--version',
         required=False,
         help=
         'List all files in the specified artifact version. Use the --package flag to specify the artifact.'
     )
     parser.add_argument(
         '--tag',
         required=False,
         help=
         'List all files in the artifact version with the specified tag. This flag only works with formats that use tags, such as container images. Use the --package flag to specify the artifact.'
     )
예제 #2
0
 def Args(parser):
     flags.GetRepoFlag().AddToParser(parser)
     parser.display_info.AddFormat("value(gradle)")
예제 #3
0
 def Args(parser):
     flags.GetRepoFlag().AddToParser(parser)
     flags.GetJsonKeyFlag("python").AddToParser(parser)
     parser.display_info.AddFormat("value(python)")
예제 #4
0
 def Args(parser):
     flags.GetRepoFlag().AddToParser(parser)
     flags.GetScopeFlag().AddToParser(parser)
     parser.display_info.AddFormat('value(npm)')
예제 #5
0
 def Args(parser):
   flags.GetRepoFlag().AddToParser(parser)
   parser.display_info.AddFormat('value(mvn)')
예제 #6
0
 def Args(parser):
   flags.GetRepoFlag().AddToParser(parser)
   flags.GetJsonKeyFlag("npm").AddToParser(parser)
   flags.GetScopeFlag().AddToParser(parser)
   parser.display_info.AddFormat("value(npm)")