-
I'm trying to create a CLI (my first!) and looking at hatch's implementation as a guide. I'm trying to understand why hatch/src/hatch/cli/__init__.py Line 90 in 332c407 hatch/src/hatch/cli/__init__.py Line 221 in 332c407 Thanks for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It doesn't really matter but the former probably should be something nice for humans like "Learn Hatch" while the latter should match the name of the executable i.e. what you type on the command line. In the latter case, being explicit prevents it from doing extra logic which may reduce responsiveness when viewing help text. |
Beta Was this translation helpful? Give feedback.
It doesn't really matter but the former probably should be something nice for humans like "Learn Hatch" while the latter should match the name of the executable i.e. what you type on the command line. In the latter case, being explicit prevents it from doing extra logic which may reduce responsiveness when viewing help text.