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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃槆 Question about naming #1

Open
chiunhau opened this issue Feb 5, 2018 · 4 comments
Open

馃槆 Question about naming #1

chiunhau opened this issue Feb 5, 2018 · 4 comments

Comments

@chiunhau
Copy link

chiunhau commented Feb 5, 2018

I personally suggest common naming convention such as life init (or life i as shorthand), instead of life --init or life -i. I think it's easier to type and allow more option parsing. Because as the program grows, you might need more options for a single command, such aslife i --student or life log --detail.

(Not an serious issue, just one of my questions 馃槅)

@sirlancelot
Copy link

I like this especially considering it's how Git command line works. 馃憤

@ByronHsu
Copy link
Owner

ByronHsu commented Feb 6, 2018

I followed the example format in https://github.com/sindresorhus/meow previously.
But @chiunhau 's idea sounds great. I will take it into consideration!

@sirlancelot
Copy link

sirlancelot commented Feb 6, 2018

meow looks cool. There's also commander if meow won't do what you want.

Git-style sub-commands

@ByronHsu
Copy link
Owner

ByronHsu commented Feb 6, 2018

@sirlancelot OMG it's another tj repo!
It looks fantastic. Thanks.

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

3 participants