Lines Matching refs:args
51 def do_run(self, args, unknown_args): argument
54 self.dbg(f" --init is", args.init)
55 self.dbg(f" --build-dir is", args.build_dir)
56 self.dbg(f" --namespace-prefix is", args.namespace_prefix)
57 self.dbg(f" --spdx-dir is", args.spdx_dir)
58 self.dbg(f" --analyze-includes is", args.analyze_includes)
59 self.dbg(f" --include-sdk is", args.include_sdk)
61 if args.init:
62 self.do_run_init(args)
64 self.do_run_spdx(args)
66 def do_run_init(self, args): argument
69 if not args.build_dir:
73 query_ready = setupCmakeQuery(args.build_dir)
80 def do_run_spdx(self, args): argument
81 if not args.build_dir:
86 cfg.buildDir = args.build_dir
87 if args.namespace_prefix:
88 cfg.namespacePrefix = args.namespace_prefix
94 if args.spdx_dir:
95 cfg.spdxDir = args.spdx_dir
97 cfg.spdxDir = os.path.join(args.build_dir, "spdx")
98 if args.analyze_includes:
100 if args.include_sdk: