From 0d57a26925c4d2c716cac7f4d37c32232d5e7d01 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 3 Feb 2023 20:54:14 -0800 Subject: [PATCH] Add token flag to export command --- cli/packages/cmd/export.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/packages/cmd/export.go b/cli/packages/cmd/export.go index 089c407b0..c2963f6bd 100644 --- a/cli/packages/cmd/export.go +++ b/cli/packages/cmd/export.go @@ -96,6 +96,7 @@ func init() { exportCmd.Flags().Bool("expand", true, "Parse shell parameter expansions in your secrets") exportCmd.Flags().StringP("format", "f", "dotenv", "Set the format of the output file (dotenv, json, csv)") exportCmd.Flags().Bool("secret-overriding", true, "Prioritizes personal secrets, if any, with the same name over shared secrets") + exportCmd.Flags().String("token", "", "Fetch secrets using the Infisical Token") } // Format according to the format flag