completion: let nerdctl build --target <TAB>
show Dockerfile stage names
#566
Labels
nerdctl build --target <TAB>
show Dockerfile stage names
#566
https://github.com/docker/cli/blob/9bc104eff0798097954f5d9bc25ca93f892e63f5/contrib/completion/bash/docker#L2929-L2941
Docker uses sed, but we can probably use real Dockerfile parser package
https://pkg.go.dev/github.com/moby/buildkit/frontend/dockerfile/parser#Parse
The text was updated successfully, but these errors were encountered: