CLI spec: "query [-l string]" becomes "query [--no-input] [--no-output] [--no-layout]"

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes 2021-03-23 07:37:31 +00:00
parent d78b9238e2
commit ab6518cca0

View File

@ -152,14 +152,18 @@ import (
arg: "json|yaml|cue|text|env" arg: "json|yaml|cue|text|env"
} }
"--layer": { "--no-input": {
alt: "-l" alt: "-I"
description: """ description: "Exclude inputs from query"
Comma-separated list of layers to query (any of "input", "plan", "output") }
""" "--no-output": {
default: "all" alt: "-O"
description: "Exclude outputs from query"
}
"--no-plan": {
alt: "-L"
description: "Exclude deployment plan from query"
} }
} }
} }