life-commit icon indicating copy to clipboard operation
life-commit copied to clipboard

😇 Question about naming

Open chiunhau opened this issue 7 years ago • 4 comments

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 😆)

chiunhau avatar Feb 05 '18 14:02 chiunhau

I like this especially considering it's how Git command line works. :+1:

sirlancelot avatar Feb 05 '18 22:02 sirlancelot

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

ByronHsu avatar Feb 06 '18 02:02 ByronHsu

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

Git-style sub-commands

sirlancelot avatar Feb 06 '18 03:02 sirlancelot

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

ByronHsu avatar Feb 06 '18 03:02 ByronHsu