Exemple #1
0
 def Run(self, args):
     if not args.quiet:
         render_document.RenderDocument(fin=StringIO.StringIO(_SPLASH))
     config = configuration.Config(context='gcloud ')
     application.main(cli=self._cli_power_users_only,
                      args=args,
                      config=config)
 def Run(self, args):
     if not args.quiet:
         render_document.RenderDocument(fin=StringIO.StringIO(_SPLASH))
     config = configuration.Config(
         context=args.context,
         hidden=args.hidden,
         prompt=args.prompt,
         suggest=args.suggest,
     )
     application.main(args=args, config=config)
 def Run(self, args):
     # TODO(b/69033748): drop this workaround when the trees are packaged
     if args.update_cli_trees:
         generate_cli_trees.UpdateCliTrees(warn_on_exceptions=True,
                                           verbose=not args.quiet)
     if not args.quiet:
         render_document.RenderDocument(fin=StringIO.StringIO(_SPLASH))
     config = configuration.Config(
         context=args.context,
         hidden=args.hidden,
         prompt=args.prompt,
         suggest=args.suggest,
     )
     application.main(args=args, config=config)
Exemple #4
0
 def Run(self, args):
     application.main()