From 8b50150ec82c97f82e96ea0f1a85a85ac2813ccc Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 4 Aug 2023 11:11:17 -0400 Subject: [PATCH] Update usage.mdx --- docs/cli/usage.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/cli/usage.mdx b/docs/cli/usage.mdx index 36f6a4165..166c2804a 100644 --- a/docs/cli/usage.mdx +++ b/docs/cli/usage.mdx @@ -61,16 +61,16 @@ The distinguishing factor, however, is the authentication method used. ```bash - infisical run -- [your application start command] + infisical run --env=dev --path=/apps/firefly -- [your application start command] # example with node (nodemon) - infisical run --env=dev --path=/apps/firefly -- nodemon index.js + infisical run --env=staging --path=/apps/spotify -- nodemon index.js # example with flask - infisical run -- flask run + infisical run --env=prod --path=/apps/backend -- flask run # example with spring boot - maven - infisical run -- ./mvnw spring-boot:run --quiet + infisical run --env=dev --path=/apps/ -- ./mvnw spring-boot:run --quiet ``` @@ -86,7 +86,7 @@ The distinguishing factor, however, is the authentication method used. To make the secrets available from Infisical to `yd`, you can run the following command: ```bash - infisical run --command="source custom.sh && yd" + infisical run --env=prod --path=/apps/reddit --command="source custom.sh && yd" ```