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
update cli usage docs
Maidul Islam6d70dc437ee2
diff --git a/docs/cli/usage.mdx b/docs/cli/usage.mdxindex 922c0f2d8d..f6e06c9669 100644--- a/docs/cli/usage.mdx+++ b/docs/cli/usage.mdx@@ -34,10 +34,12 @@ infisical init## Inject environment variables-```bash-# inject environment variables into app-infisical run -- [your application start command]-```+<Accordion title="Injecting environment variables directly" defaultOpen="true">+ ```bash+ # inject environment variables into app+ infisical run -- [your application start command]+ ```+</Accordion><Accordion title="Injecting environment variables in custom aliases">Custom aliases can utilize secrets from Infisical. Suppose there is a custom alias `yd` in `custom.sh` that runs `yarn dev` and needs the secrets provided by Infisical.@@ -54,10 +56,9 @@ infisical run -- [your application start command]```bashinfisical run --command="source custom.sh && yd"```-- View all available options for `run` command [here](./commands/run)</Accordion>+View all available options for `run` command [here](./commands/run)## Examples: