コード例 #1
0
 def Args(parser):
   """Register flags for this command."""
   util.AddClusterIdArgs(parser)
   util.AddClusterInfoArgs(parser)
   parser.add_argument(
       '--storage',
       choices=['HDD', 'SSD'],
       default='SSD',
       type=str.upper,
       help='Storage class for the cluster.')
コード例 #2
0
ファイル: update.py プロジェクト: AlexisMarie8330/Doll
 def Args(parser):
   """Register flags for this command."""
   util.AddClusterIdArgs(parser)
   util.AddClusterInfoArgs(parser)