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"
}
"--layer": {
alt: "-l"
description: """
Comma-separated list of layers to query (any of "input", "plan", "output")
"""
default: "all"
"--no-input": {
alt: "-I"
description: "Exclude inputs from query"
}
"--no-output": {
alt: "-O"
description: "Exclude outputs from query"
}
"--no-plan": {
alt: "-L"
description: "Exclude deployment plan from query"
}
}
}