From d490680fb7e8ec4b39823ce85e67437c7e195ff0 Mon Sep 17 00:00:00 2001 From: Kai Jellinghaus Date: Sun, 4 Dec 2022 13:24:46 +0100 Subject: [PATCH] Add CLI arg (#987) --- cli/examples/u/admin/example.flow.json | 2 +- cli/main.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cli/examples/u/admin/example.flow.json b/cli/examples/u/admin/example.flow.json index 4631d6de27..5b11f6e27f 100644 --- a/cli/examples/u/admin/example.flow.json +++ b/cli/examples/u/admin/example.flow.json @@ -34,4 +34,4 @@ "properties": {} }, "extra_perms": {} -} +} \ No newline at end of file diff --git a/cli/main.ts b/cli/main.ts index f231364896..f2d184416c 100644 --- a/cli/main.ts +++ b/cli/main.ts @@ -22,6 +22,10 @@ const command = new Command() "--workspace ", "Specify the target workspace. This overrides the default workspace.", ) + .globalOption( + "--token ", + "Specify an API token. This will override any stored token.", + ) .version(VERSION) .command("flow", flow) .command("script", script)