Lines Matching refs:context
35 context = cr.Context(
41 context.AddSubParser(command)
44 if context.autocompleting:
46 cr.autocomplete.Complete(context)
49 context.ParseArgs(True)
50 cr.plugin.Activate(context)
52 command = cr.Command.GetActivePlugin(context)
55 command.EarlyArgProcessing(context)
57 cr.plugin.Activate(context)
59 found_build_dir = cr.base.client.LoadConfig(context)
61 context.ParseArgs()
62 cr.plugin.Activate(context)
65 command = cr.Command.GetActivePlugin(context)
67 if context.verbose >= 3:
68 context.DumpValues(context.verbose > 3)
70 print context.Substitute('No command specified.')
74 if not context.Find('CR_OUT_FULL'):
75 print context.Substitute(
78 print context.Substitute(
81 if context.Find('CR_VERSION') != cr.base.client.VERSION:
82 print context.Substitute(
86 cr.Platform.Prepare(context)
87 if context.verbose >= 1:
88 print context.Substitute(
91 command.Run(context)