Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 3731cd0

Browse files
authored
Merge pull request #662 from thaJeztah/remove_alias
Add "remove" as alias for app image rm
2 parents 8504449 + 631171a commit 3731cd0

File tree

1 file changed

+4
-3
lines changed
  • internal/commands/image

1 file changed

+4
-3
lines changed

internal/commands/image/rm.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ import (
1414

1515
func rmCmd() *cobra.Command {
1616
return &cobra.Command{
17-
Use: "rm [APP_IMAGE] [APP_IMAGE...]",
18-
Short: "Remove an application image",
19-
Args: cli.RequiresMinArgs(1),
17+
Short: "Remove an application image",
18+
Use: "rm [APP_IMAGE] [APP_IMAGE...]",
19+
Aliases: []string{"remove"},
20+
Args: cli.RequiresMinArgs(1),
2021
Example: `$ docker app image rm myapp
2122
$ docker app image rm myapp:1.0.0
2223
$ docker app image rm docker.io/library/myapp@sha256:beef...`,

0 commit comments

Comments
 (0)