I have a project that I’d like to add a CLI to (using Comonicon.jl
) and I’m not sure how to organize the addition of the CLI. Ideally I’d like to
- keep by base project,
MyPackage
on its own so people can justadd
/using
MyPackage
without also bothering with the CLI and its dependencies unless they want to, but - somehow distribute the CLI along with the package so that they can access it’s functionality at the command line with
my package <args>
.
I’m able to to pretty much exactly that in Haskell and Python, but am having trouble sorting out the right way to do it in Julia.