Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Reporting tool version, e.g. fc_run.py -v or --version #641

Open
peterjc opened this issue May 30, 2018 · 2 comments
Open

Reporting tool version, e.g. fc_run.py -v or --version #641

peterjc opened this issue May 30, 2018 · 2 comments
Assignees

Comments

@peterjc
Copy link

peterjc commented May 30, 2018

As far as I can tell, none of the executable Falcon scripts support a -v or --version command line option to print their version and exit with return code zero.

This is a very common convention, useful in many contexts including larger pipelines where is it important to log the versions of tools used, and automating checking of dependencies.

Could this be added please?

@peterjc
Copy link
Author

peterjc commented May 30, 2018

Also, related to this, could the existing -h help option be expanded to report the tool's version?

This would be a less invasive change, although not quite as useful, but you could then do something like:

$ fc_run.py -h | grep version

@pb-cdunn
Copy link

That's a good idea. We'll do both, eventually. Thanks!

@pb-cdunn pb-cdunn reopened this Jun 22, 2018
@pb-cdunn pb-cdunn self-assigned this Jun 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants