BiBiServ / bibigrid

BiBiGrid is a tool for an easy cluster setup inside a cloud environment.
Apache License 2.0
11 stars 8 forks source link

Improve Command Line Interface #420

Closed XaverStiensmeier closed 1 year ago

XaverStiensmeier commented 1 year ago

In the past one had to pass a configuration file even to check the version number. That was a residuum from the old bibigrid that implemented the CLI that way. It's quite tricky to implement a "conditional required argument" in python, but the solution used now is throwing a command line parsing error whenever an action is executed that requires a configuration but none is given. That way configuration is no longer required, but when used with an action that actually requires it.

Also the version message has been improved containing the release date, some general information and a list of files within the configuration directory now.

This closes

419

395