Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements of commands service init and service gendoc #823

Merged
merged 6 commits into from
Mar 19, 2019

Conversation

NicolasMahe
Copy link
Member

No description provided.

@NicolasMahe NicolasMahe requested a review from ilgooz March 18, 2019 12:00
PreRunE: c.preRunE,
RunE: c.runE,
})
c.cmd.Flags().BoolVarP(&c.force, "force", "f", c.force, "No confirmation. Will replace existing README.md file")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the use of this flag in the command

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic was already implemented but the flag was not exposed

Copy link
Contributor

@ilgooz ilgooz Mar 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think having force option is good for non interactive terminals. But we can change it to --yes because we use it in general, in other commands too. It exists for answering all terminal prompts as yes by default in a command action. But this improvement can be done in an another PR.

Copy link
Contributor

@ilgooz ilgooz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

manual tests are good

@NicolasMahe NicolasMahe merged commit bdf12d0 into dev Mar 19, 2019
@NicolasMahe NicolasMahe deleted the feature/commands-service-init-gendoc branch March 19, 2019 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants