mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 09:27:50 +00:00
put aliases docs in Accordion
This commit is contained in:
+3
-1
@@ -39,7 +39,7 @@ infisical init
|
|||||||
infisical run -- [your application start command]
|
infisical run -- [your application start command]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Injecting environment variables in custom aliases
|
<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.
|
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.
|
||||||
```bash
|
```bash
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@@ -56,6 +56,8 @@ infisical run --command="source custom.sh && yd"
|
|||||||
```
|
```
|
||||||
|
|
||||||
View all available options for `run` command [here](./commands/run)
|
View all available options for `run` command [here](./commands/run)
|
||||||
|
</Accordion>
|
||||||
|
|
||||||
|
|
||||||
## Examples:
|
## Examples:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user