feat: creating custom help string#103
feat: creating custom help string#103Souvikns merged 10 commits intoasyncapi:masterfrom Souvikns:new-help-string
Conversation
|
I honestly like the default Oclif help message. Looks like the default for all CLIs out there. |
I was also struggling to understand the concept of topics, but reading their docs, topics are like nested commands so in our root help even though we have 3 (help command has to be removed I guess ) commands only config is added into
I think changing commands into arguments would be confusing, consider the validate help string In |
|
Yeah, Topics should be removed. They don't make sense anymore since we're not using the default Oclif notation which is something like Also, agree with Lukasz that options must be called flags. I think it's more common. Actually, in Oclif code, they're called flags too 😄 |
src/help/command.ts
Outdated
| @@ -0,0 +1,161 @@ | |||
| import * as Config from '@oclif/config' | |||
There was a problem hiding this comment.
You got a few things to fix in this file 😅
|
ready to be reviewed 🤞🏻 |
|
@Souvikns you need to resolve some conflicts with the |
|
Kudos, SonarCloud Quality Gate passed!
|
|
@fmvilas I think I need another approval. |
|
🎉 This PR is included in version 0.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
@Souvikns CLI is broken again 😅 I get this error this time: |
|
I think you have to change this line to: This is what I see when I look into the installed module: |
This reverts commit 6099147.












Description
With the migration to OCLIF, our previous help has been updated, so this PR aims to restore the help string as before,
Oclif's help strings: