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:
parent
d78b9238e2
commit
ab6518cca0
18
cmd/spec.cue
18
cmd/spec.cue
@ -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"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user