WIP: feat: add volume arg to volume rm
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

See #574
This commit is contained in:
2025-08-13 13:41:38 +02:00
parent 952d768ab0
commit 861cf27af9

View File

@ -71,7 +71,7 @@ var AppVolumeListCommand = &cobra.Command{
} }
var AppVolumeRemoveCommand = &cobra.Command{ var AppVolumeRemoveCommand = &cobra.Command{
Use: "remove <domain> [flags]", Use: "remove <domain> [volume] [flags]",
Short: "Remove volume(s) associated with an app", Short: "Remove volume(s) associated with an app",
Long: `Remove volumes associated with an app. Long: `Remove volumes associated with an app.
@ -83,6 +83,11 @@ you to make a seclection. Use the "?" key to see more help on navigating this
interface. interface.
Passing "--force/-f" will select all volumes for removal. Be careful.`, Passing "--force/-f" will select all volumes for removal. Be careful.`,
Example: ` # delete volumes interactively
abra app volume rm 1312.net
# delete specific volume
abra app volume rm 1312.net my_volume`,
Aliases: []string{"rm"}, Aliases: []string{"rm"},
Args: cobra.MinimumNArgs(1), Args: cobra.MinimumNArgs(1),
ValidArgsFunction: func( ValidArgsFunction: func(