Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main entry point for CLI #46

Open
viesti opened this issue Jul 22, 2019 · 1 comment
Open

Main entry point for CLI #46

viesti opened this issue Jul 22, 2019 · 1 comment

Comments

@viesti
Copy link
Contributor

viesti commented Jul 22, 2019

tools.cli has support for dividing cli argument processing to subcommands via in-order Processing for Subcommands. Using this we could have a main entry point for pack.alpha, that could have common options and could provice help for all commands it supports via shared -h option.

@SevereOverfl0w
Copy link
Collaborator

I've been waiting for a good reason to break the api. Being alpha helps make it okay. I was thinking I would go for juxt.pack as the main.

I hadn't given much thought to whether -h should be before or after the sub-command, same for the other common flags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants