Skip to content

feat: add --org-name suggestion when user tries --org #243

@aaronkelton

Description

@aaronkelton

Description
Reading https://github.com/VeryGoodOpenSource/very_good_cli/blob/main/doc/very_good_core.md language led me to believe I could use the --org flag.

Then, you can use the very_good create command just like you would flutter create

When using the --org flag, the error message Could not find an option named "org". Is there a way to include a "did you mean" feature? So for example when someone uses --org, they will see Could not find an option named "org". Did you mean --org-name?

Steps To Reproduce

  1. Run the command very_good create --org com.my_app my_app
  2. Read the error message Could not find an option named "org".

Expected Behavior
I expect to read a suggestion, because I have used very_good create just like flutter create, per the documentation.
I expect to read Could not find an option named "org". Did you mean --org-name?
An alternative solution would be to change the usage text after the error message to show the output of very_good create --help instead of the output of very_good --help

Screenshots
CleanShot 2022-01-02 at 10 12 10@2x

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions