mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-06-18 11:48:34 +00:00
* split bats test invocation by executable * add more cli tests for kubens * clean up kubens tests * small cleanup to kubens tests
13 lines
154 B
Bash
Executable File
13 lines
154 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
[[ -n $DEBUG ]] && set -x
|
|
|
|
set -eou pipefail
|
|
|
|
if [[ $@ == *'get namespaces'* ]]; then
|
|
echo "ns1"
|
|
echo "ns2"
|
|
else
|
|
kubectl $@
|
|
fi
|