From a1b5c142bd1012e83b2f194d073a1d1531753618 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Thu, 22 Jun 2023 14:46:14 +0200 Subject: [PATCH] fix(cli): expose --skip-secrets --skip-variables --skip-resources --- cli/sync.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cli/sync.ts b/cli/sync.ts index 32878fe29b..7ec5295aea 100644 --- a/cli/sync.ts +++ b/cli/sync.ts @@ -809,6 +809,9 @@ const command = new Command() .option("--raw", "Pull without using state, just overwrite.") .option("--plain-secrets", "Pull secrets as plain text") .option("--json", "Use JSON instead of YAML") + .option("--skip-variables", "Skip syncing variables (including secrets)") + .option("--skip-secrets", "Skip syncing only secrets variables") + .option("--skip-resources", "Skip syncing resources") // deno-lint-ignore no-explicit-any .action(pull as any) .command("push") @@ -824,6 +827,9 @@ const command = new Command() .option("--raw", "Push without using state, just overwrite.") .option("--plain-secrets", "Push secrets as plain text") .option("--json", "Use JSON instead of YAML") + .option("--skip-variables", "Skip syncing variables (including secrets)") + .option("--skip-secrets", "Skip syncing only secrets variables") + .option("--skip-resources", "Skip syncing resources") // deno-lint-ignore no-explicit-any .action(push as any);