Lines Matching refs:args
42 def __init__(self, args):
43 self.args = args
46 if self.args.format == "html" and \
47 not os.path.isfile(self.args.template):
52 "(--format FORMAT).".format(self.args.template),
83 if self.args.format == "html":
85 with io.open(self.args.template, encoding="utf-8") as f:
91 output_fn = self.args.output or "flamegraph.html"
94 output_fn = self.args.output or "stacks.json"
122 args = parser.parse_args()
123 cli = FlameGraphCLI(args)