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

Use minimist to create alias and default arguments #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bigtimebuddy
Copy link

Love the module, I'm a big fan. Thanks for creating and supporting it.

I have a pretty simple PR that updates the bin entry point to take advantage of minimist's options for defining aliases, defaults, booleans and strings. It uses minimist's parse arguments return instead of creating a new object. Also, it's nicer to have these things be explicitly declared.

If you're happy with the existing arguments/options setup, please feel free to close.

@bigtimebuddy
Copy link
Author

Ping

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

Successfully merging this pull request may close these issues.

1 participant