containerd / containerd/nerdctl
completion: let `nerdctl build --target <TAB>` show Dockerfile stage names
Open
area/bash-completion
enhancement
- Dominant language
- Go
- Stars
- 10.4k
- Forks
- 826
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 44
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.