Feature and motivation
I propose adding bash completion support to the ibm-mas/cli image.
Currently, the quay.io/ibmmas/cli:16.0.0 image does not provide:
- bash completion for commonly used tools:
oc
kubectl
helm
argocd
aws (via aws_completer)
This makes interactive use of the image less efficient, especially when troubleshooting or iterating on commands within a shell inside the container.
Why this is useful
Bash completion significantly speeds up work with long and complex commands and reduces typos.
Enabling this feature directly in the base CLI image improves developer/operator productivity and provides a more complete toolbox for day‑to‑day Kubernetes/OpenShift and MAS operations.
Usage example
1. Start a shell in the CLI container
oc run -it mas-cli --image=quay.io/ibmmas/cli:16.0.0 -- bash
2. Use bash completion for common tools
# Kubernetes
kubectl get pod <TAB><TAB>
kubectl get deployment <TAB><TAB>
# OpenShift
oc get route <TAB><TAB>
# Helm
helm upgrade --install <TAB><TAB>
# ArgoCD
argocd app list --project <TAB><TAB>
# AWS CLI
aws eks describe-cluster --name <TAB><TAB>
Feature and motivation
I propose adding bash completion support to the
ibm-mas/cliimage.Currently, the
quay.io/ibmmas/cli:16.0.0image does not provide:ockubectlhelmargocdaws(viaaws_completer)This makes interactive use of the image less efficient, especially when troubleshooting or iterating on commands within a shell inside the container.
Why this is useful
Bash completion significantly speeds up work with long and complex commands and reduces typos.
Enabling this feature directly in the base CLI image improves developer/operator productivity and provides a more complete toolbox for day‑to‑day Kubernetes/OpenShift and MAS operations.
Usage example
1. Start a shell in the CLI container
2. Use bash completion for common tools