示例#1
0
 def Args(parser):
   arguments.AddSettingsNameArgToParser(parser)
   arguments.AddResourceFlagsToParser(parser)
   parser.add_argument(
       '--effective',
       action='store_true',
       help='Describe the effective setting.')
示例#2
0
 def Args(parser):
     arguments.AddSettingsNameArgToParser(parser)
     parser.add_argument(
         '--value-file',
         metavar='value-file',
         completer=completers.FilesCompleter,
         required=True,
         help='Path to JSON or YAML file that contains the resource setting.'
     )
     arguments.AddResourceFlagsToParser(parser)
     parser.add_argument('--etag',
                         metavar='etag',
                         help='Etag of the resource setting.')
示例#3
0
 def Args(parser):
     arguments.AddSettingsNameArgToParser(parser)
     arguments.AddResourceFlagsToParser(parser)
示例#4
0
 def SetUp(self):
     self.parser = calliope_util.ArgumentParser()
     arguments.AddSettingsNameArgToParser(self.parser)
     arguments.AddResourceFlagsToParser(self.parser)