martius-lab / cluster_utils

https://cluster-utils.readthedocs.io/stable/
Other
12 stars 0 forks source link

Improve user experience of interactive mode #136

Open luator opened 2 weeks ago

luator commented 2 weeks ago

Description

Use cmd.Cmd for interactive mode. This gives some benefits over doing things manually:

While working on this, also make the output a bit nicer:

Note that calling show_job without argument now results in an error (expects ID as argument). I don't consider this as breaking change w.r.t. versioning, though, as it only affects the interactive command, i.e. no existing script/config or the like should break due to this change.

Resolves #47. Resolves #135.

Do not merge before