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.
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