Utilize add_subparsers to unify CLI
ibnesayeed opened this issue · comments
It looks like argparse
is being used in individual actions which is then called from bin/hc
where a top-level command (i.e., hc
) implements arg parsing manually. We could perhaps use add_subparsers
in the entrypoint script to leverage built-in capabilities on the standard argument parser package. We have used this technique in some of the other WSDL projects.
I've experimented with this successfully. What other WSDL projects have used it successfully?
What other WSDL projects have used it successfully?
Thanks! I'll review that code and see what I can adapt.
This was completed by aa8bdaa as part of the IIPC 2021 DSA Grant.