Closed Freed-Wu closed 1 year ago
Doggfooding à la https://docs.iterative.ai/shtab/use/#library-usage? Sure...
I know we can use shtab --shell=tcsh shtab.main.get_main_parser --error-unimportable | sudo tee /etc/profile.d/shtab.completion.csh
to generate shell completion. I want to know
why not shtab --print-completion XXX
? The latter looks better.
Yes makes sense, feel free to add it :)
I notice shtab.main.get_main_parser don't use
shtab.add_argument_to
. Can it do?