ByronHsu / life-commit

🏃📆 Life as a git. Commit on your life.
https://byronhsu.github.io/life-commit/
MIT License
947 stars 37 forks source link

😇 Question about naming #1

Open chiunhau opened 6 years ago

chiunhau commented 6 years ago

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 commented 6 years ago

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

ByronHsu commented 6 years ago

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 commented 6 years ago

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

Git-style sub-commands

ByronHsu commented 6 years ago

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