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"
|
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"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user