Add rm --filter option

--filter : remove the filtered container.

Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
This commit is contained in:
Toshiki Sonoda
2022-07-30 09:28:22 +09:00
parent fed326d8a6
commit 53ec479685
13 changed files with 186 additions and 58 deletions

View File

@@ -131,6 +131,7 @@ type RestartReport struct {
}
type RmOptions struct {
Filters map[string][]string
All bool
Depend bool
Force bool