-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Add --prune to stack deploy #31302
Add --prune to stack deploy #31302
Conversation
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.
Desgin LGTM.
Code looks good, gotta try this out tomorrow but 👍
cli/internal/test/cli.go
Outdated
@@ -42,7 +48,12 @@ func (c *FakeCli) Out() *command.OutStream { | |||
return command.NewOutStream(c.out) | |||
} | |||
|
|||
// In returns thi input stream the cli will use |
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.
😂
Should we have a |
should |
Perhaps documenting it somewhere (some sort of migration guide) could work |
I think there are enough CLI differences already that no one should expect the same flags.
There is no object on the server yet, so I don't think so. We don't have prune for services either, right? |
c7027d5
to
3f81c44
Compare
Design OK. |
Moved to code review |
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.
LGTM
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.
LGTM 🐸
/cc @thaJeztah for docs review |
@dnephin can you update the reference docs for the new flag?
This also needs an update to the bash/zsh completion scripts |
3f81c44
to
e47cdae
Compare
I think this part of the command line reference is generated now, but I've added them anyway. |
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.
LGTM, thanks!
may need to be squashed though 😇 |
Add to command line reference. Signed-off-by: Daniel Nephin <dnephin@docker.com>
e47cdae
to
644fd80
Compare
rebased |
All green 👍 |
Add --prune to stack deploy
Fixes #29898
cc @vdemeester
Description for changelog