Closed zappy-shu closed 4 years ago
Merging #775 into master will decrease coverage by
0.02%
. The diff coverage is60%
.
@@ Coverage Diff @@
## master #775 +/- ##
==========================================
- Coverage 70.44% 70.41% -0.03%
==========================================
Files 67 67
Lines 3729 3732 +3
==========================================
+ Hits 2627 2628 +1
- Misses 758 759 +1
- Partials 344 345 +1
Impacted Files | Coverage Δ | |
---|---|---|
internal/commands/remove.go | 50% <60%> (-0.95%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update d119541...518754b. Read the comment docs.
- What I did
Adds ability to remove multiple running apps with a single command. E.g.:
docker app rm app1 app2
Attempts to remove all listed apps before returning any errors same as with docker app image rm.
- How I did it
Changed the
ExactArgs
toRequiredMinArgs
and loop through the args, appending any errors which are all returned at the end if any exist.- How to verify it
docker app run
2 apps with namesapp1
andapp2
thendocker app rm app1 app2
. The output should show each app being removed- Description for the changelog
Allow removing of multiple Apps in one command using space delimited App names. E.g.
docker app rm my-app-1 my-app-2
- A picture of a cute animal (not mandatory)