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

Set pause, resume, restart to use requireAppNameAsArg #176

Merged
merged 5 commits into from
Jun 26, 2020

Conversation

codepope
Copy link
Contributor

No description provided.

Copy link
Member

@michaeldwan michaeldwan left a comment

Choose a reason for hiding this comment

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

This looks good but requireAppNameAsArg duplicates requireAppName which has already been a bug hotspot. If we want a single init function to resolve the app we should combine them with some options to control which places to consider.

That aside, I think potentially destructive app subcommands are one place we don't want any inference. I swear there was a requireAppNameAsArg init function that did that 🤔.

@codepope codepope merged commit 37a470d into master Jun 26, 2020
@codepope codepope deleted the codepope/issue175 branch June 26, 2020 16:21
@codepope
Copy link
Contributor Author

Merging as is as all the initiators are in the mix for the command revision and the duplication will serve as a code smell.

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.

None yet

2 participants