From ab6518cca06e71736d553a0af812dc2c7c8d8c9e Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Tue, 23 Mar 2021 07:37:31 +0000 Subject: [PATCH] CLI spec: "query [-l string]" becomes "query [--no-input] [--no-output] [--no-layout]" Signed-off-by: Solomon Hykes --- cmd/spec.cue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/cmd/spec.cue b/cmd/spec.cue index 0de9e4b9..7155c8b8 100644 --- a/cmd/spec.cue +++ b/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" } - } }