Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Add all available flags in the ritchie options listing. #522

Closed
fabianofernandeszup opened this issue Sep 15, 2020 · 2 comments
Closed

Add all available flags in the ritchie options listing. #522

fabianofernandeszup opened this issue Sep 15, 2020 · 2 comments
Labels
good first issue Good for newcomers Hacktoberfest https://hacktoberfest.digitalocean.com/ 🔨 improvement Improvement in features

Comments

@fabianofernandeszup
Copy link
Contributor

fabianofernandeszup commented Sep 15, 2020

What would you like to be added:

Add all available flags in the ritchie options listing.
Ex: --verbose --local --docker --stdin

Today only the --version tag is being displayed.

image

Why is this needed:

So that the user knows about the existence of these options, without having to consult the documentation for this.

@fabianofernandeszup fabianofernandeszup added Hacktoberfest https://hacktoberfest.digitalocean.com/ 🔨 improvement Improvement in features labels Sep 15, 2020
@kaduartur
Copy link
Contributor

kaduartur commented Sep 15, 2020

Hello @fabianofernandeszup, the cobra framework works like this. It shows the flags by command.
For example:
The rit command only has the --version flag
The rit demo hello-world command has three flags

  • --docker
  • --local
  • --verbose
    To see this, execute rit demo hello-world --help command.

image

But just the --stdin flags don't work as expected, a good first issue.

Thanks for your collaboration!

@kaduartur kaduartur added Hacktoberfest https://hacktoberfest.digitalocean.com/ good first issue Good for newcomers and removed Hacktoberfest https://hacktoberfest.digitalocean.com/ labels Sep 15, 2020
@fabianofernandeszup
Copy link
Contributor Author

Cool, so I'm going to close this Issue. Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers Hacktoberfest https://hacktoberfest.digitalocean.com/ 🔨 improvement Improvement in features
Projects
None yet
Development

No branches or pull requests

2 participants