()
| 131 | |
| 132 | @public |
| 133 | def get_argparse_options(): |
| 134 | for opt, info in OPTIONS.items(): |
| 135 | help = "When specified, includes {}".format(info["help"]) |
| 136 | if info.get("not-in-all"): |
| 137 | help = "{}. Not affected by --include-all".format(help) |
| 138 | |
| 139 | yield "--include-{}".format(opt), help |
| 140 | |
| 141 | for opt, info in PRESETS.items(): |
| 142 | help = "When specified, includes default options for {}".format(info["help"]) |
| 143 | yield "--preset-{}".format(opt), help |
| 144 | |
| 145 | |
| 146 | def ns_get(ns, key, default=False): |