-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
feat: added support for named start #768
feat: added support for named start #768
Conversation
68f4241
to
9ddc1e1
Compare
@acburdine everything's been fixed now 😄 |
a6829d4
to
593d851
Compare
Rebased! 🙃 |
593d851
to
5b461f3
Compare
Couple things:
|
Our bot has automatically marked this PR as stale because there has not been any activity here in some time. If we’ve failed to review your PR & you’re still interested in working on it, please let us know. Otherwise this PR will be closed shortly, but can always be reopened later. Thank you for understanding 🙂 |
fece39e
to
d3fab15
Compare
@@ -41,7 +48,7 @@ class StartCommand extends Command { | |||
].join('\n'), 'yellow'); | |||
} | |||
|
|||
await this.runCommand(DoctorCommand, {categories: ['start'], ...argv, quiet: true}); | |||
await this.runCommand(DoctorCommand, {categories: ['start'], ...argv, quiet: true, skipInstanceCheck: true}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we add support for named update, I think we can get rid of this skipInstanceCheck
flag, since it will be true in all places where the doctor
command is run. Plus, start
, stop
, and update
will have similar command structures!
Is there anything outstanding that prevents us from merging this PR? There may be more things we want to do, but if this change is valid and useful, let's get it in? 😄 |
Nothing on my side! |
d3fab15
to
f39c66c
Compare
Adds functionality similar to the stop command -
ghost start {name}
now works asghost stop {name}
always hasI realized this wasn't a thing as I was testing #765, and given the Stop command already has this functionality, I figured it would be a 5 minute fix, but it turns out both the Start and Stop Command Unit tests aren't super dry, so I ended up going down the rabbit hole of drying up the tests. It might be easier to review commit by commit 😬
I know this coincides w/ the release of 1.9.0; I don't think it will make much of a difference if this gets released before or afterwards.