We are developing butler gen3 command line tools and to ensure consistency we wish to adopt the git style of using subcommands, supporting a single top-level command that takes subcommands with arguments for common operations (e.g. listing collections or registering instruments). To simplify the coding for this we would like to use the python Click package.
Click is already part of our conda environment through an indirect dependency but we would like to make the dependency explicit and allow daf_butler to use it. I would like to do this by adding it to the base conda environment (where it is already).
It is our understanding that click is already in use outside of science pipelines and that sphinx support for documenting these subcommands has already been tested by the SQuaRE team.