Ask arguments for run
()
| 262 | |
| 263 | |
| 264 | def ask_run_options(): |
| 265 | """ |
| 266 | Ask arguments for run |
| 267 | """ |
| 268 | filename = questionary.path("filename:", validate=FilePathValidator).ask() |
| 269 | |
| 270 | rootfs = questionary.path("rootfs:", only_directories=True, |
| 271 | validate=RequiredDirectoryPathValidator).ask() |
| 272 | |
| 273 | args = questionary.text("args:").ask() |
| 274 | args = args.split() |
| 275 | |
| 276 | run_args = questionary.text("run_args:").ask() |
| 277 | run_args = run_args.split() |
| 278 | |
| 279 | return {"filename": filename, "rootfs": rootfs, "args": args, |
| 280 | "run_args": run_args} |
| 281 | |
| 282 | |
| 283 | def ask_code_options(): |