Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
add doc on multiple `--path` for `infisical run`
Matheus Nogueira0d171ad691fe
diff --git a/docs/cli/commands/run.mdx b/docs/cli/commands/run.mdxindex c7872efb0d..0afc68a3c4 100644--- a/docs/cli/commands/run.mdx+++ b/docs/cli/commands/run.mdx@@ -168,13 +168,18 @@ $ infisical run -- npm run dev</Accordion><Accordion title="--path">- The `--path` flag indicates which project folder secrets will be injected from.+ The `--path` flag indicates which project folder secrets will be injected from. You can specify multiple `--path` flags to inject secrets from multiple folders at once.```bash- # Example+ # Example - single pathinfisical run --path="/nextjs" -- npm run dev++ # Example - multiple paths+ infisical run --path="/common" --path="/nextjs" -- npm run dev```+ When using multiple `--path` flags, secrets from all specified folders will be injected into your application process. If the same secret exists in multiple paths, the first path takes precedence.+</Accordion></Accordion>