mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 12:38:05 +00:00
EIO-247: add converters scripts
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
usage() {
|
||||
echo -n "[command] [command_options]
|
||||
|
||||
commands:
|
||||
results_to_md: take json output from kube-bench as source and outputs markdown
|
||||
options:
|
||||
-s, --source source json from kube-bench default: /source/results.json
|
||||
"
|
||||
}
|
||||
|
||||
if [[ $# -eq 0 ]]; then
|
||||
usage
|
||||
exit 2
|
||||
fi
|
||||
|
||||
scripts/${1}.sh
|
||||
Reference in New Issue
Block a user