예제 #1
0
 def Run(self, args):
     generate_cli_trees.UpdateCliTrees(cli=self._cli_power_users_only,
                                       commands=args.commands,
                                       directory=args.directory,
                                       tarball=args.tarball,
                                       force=args.force,
                                       verbose=not args.quiet)
예제 #2
0
 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=io.StringIO(_SPLASH))
   config = configuration.Config(
       context=args.context,
       hidden=args.hidden,
       prompt=args.prompt,
       suggest=args.suggest,
   )
   application.main(args=args, config=config)