()
| 165 | |
| 166 | |
| 167 | def parse_options(): |
| 168 | ctx = Context.create_context('options') |
| 169 | ctx.execute() |
| 170 | if not Options.commands: |
| 171 | if isinstance(default_cmd, list): |
| 172 | Options.commands.extend(default_cmd) |
| 173 | else: |
| 174 | Options.commands.append(default_cmd) |
| 175 | if Options.options.whelp: |
| 176 | ctx.parser.print_help() |
| 177 | sys.exit(0) |
| 178 | |
| 179 | |
| 180 | def run_command(cmd_name): |
no test coverage detected
searching dependent graphs…