Ask additional options for run/code
()
| 318 | |
| 319 | |
| 320 | def ask_additional_options(): |
| 321 | """ |
| 322 | Ask additional options for run/code |
| 323 | """ |
| 324 | options = {} |
| 325 | |
| 326 | verbose = questionary.select( |
| 327 | "verbose:", |
| 328 | choices=list(verbose_map.keys()), |
| 329 | default="default").ask() |
| 330 | verbose = verbose_arg(verbose) |
| 331 | |
| 332 | env = questionary.path("env:", default="{}", validate=ENVFilePathValidator).ask() |
| 333 | env = env_arg(env) |
| 334 | |
| 335 | debug = questionary.confirm("debug:", |
| 336 | default=False, auto_enter=True).ask() |
| 337 | gdb = None |
| 338 | qdb, rr = False, False |
| 339 | if debug: |
| 340 | gdb = questionary.text("\tgdb:").ask() |
| 341 | |
| 342 | qdb = questionary.confirm("\tqdb:", |
| 343 | default=False, auto_enter=True).ask() |
| 344 | |
| 345 | rr = questionary.confirm("\trr:", |
| 346 | default=False, auto_enter=True).ask() |
| 347 | |
| 348 | profile = questionary.text("profile:").ask() |
| 349 | if not profile: |
| 350 | profile = None |
| 351 | |
| 352 | console = questionary.confirm("console:", |
| 353 | default=True, auto_enter=True).ask() |
| 354 | |
| 355 | filter_ = questionary.text("filter:").ask() |
| 356 | if not filter_: |
| 357 | filter_ = None |
| 358 | |
| 359 | log_file = questionary.path("log-file:", validate=FilePathValidator).ask() |
| 360 | if not log_file: |
| 361 | log_file = None |
| 362 | |
| 363 | log_plain = questionary.confirm("log-plain:", |
| 364 | default=False, auto_enter=True).ask() |
| 365 | |
| 366 | root = questionary.confirm("root:", |
| 367 | default=False, auto_enter=True).ask() |
| 368 | |
| 369 | debug_stop = questionary.confirm("debug-stop:", |
| 370 | default=False, auto_enter=True).ask() |
| 371 | |
| 372 | multithread = questionary.confirm("multithread:", |
| 373 | default=False, auto_enter=True).ask() |
| 374 | |
| 375 | timeout = int(questionary.text("profile:", default="0", validate=IntValidator).ask()) |
| 376 | |
| 377 | coverage = questionary.confirm("coverage:", |
no test coverage detected