1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

Add autocomplete for "docker image rm" (#1040)

This commit is contained in:
Nguyễn Hồng Quân 2025-02-09 19:56:50 +07:00 committed by GitHub
parent ee7422a12a
commit a31f8490fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -522,6 +522,13 @@ export extern "docker image save" [
--output(-o): string #Write to a file, instead of STDOUT
]
# Delete one or more docker image
export extern "docker image rm" [
...image: string@"nu-complete docker images"
--force(-f) #Force removal of the image
--no-prune #Do not delete untagged parents
]
# Extended build capabilities with BuildKit
export extern "docker buildx" [
--builder: string #Override the configured builder instance (default "default")