mirror of
https://git.numenor-labs.us/dsfx.git
synced 2025-04-29 08:10:34 +00:00
docs(administration): use flags instead of env vars
This commit is contained in:
parent
19e9674f40
commit
bae3a0289f
@ -25,13 +25,13 @@ go install koti.casa/numenor-labs/dsfx/cmd/dsfxctl@latest
|
|||||||
|
|
||||||
The first time you run the `dsfxctl` command, it will create a configuration directory to store
|
The first time you run the `dsfxctl` command, it will create a configuration directory to store
|
||||||
the necessary files for the tool to function properly. By default, this directory is located in the
|
the necessary files for the tool to function properly. By default, this directory is located in the
|
||||||
`/etc/dsfxctl`, but this can be overridden by setting the `DSFXCTL_CONFIG_DIR` environment variable
|
`/etc/dsfxctl`, but this can be overridden by setting the **-configDir** cli flag to a different path.
|
||||||
to a different path. We recommend configuring a path in your home directory so that the command
|
We recommend configuring a path in your home directory so that the command can be run without root
|
||||||
can be run without root privileges. For example, you can set the environment variable to point
|
privileges. For example, you can set the flag to point to a directory in your home
|
||||||
to a directory in your home directory, such as `~/.config/dsfxctl`.
|
directory, such as `~/.config/dsfxctl`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export DSFXCTL_CONFIG_DIR=~/.config/dsfxctl
|
go run koti.casa/numenor-labs/dsfx/cmd/dsfxctl@main -configDir ~/.config/dsfxctl
|
||||||
```
|
```
|
||||||
|
|
||||||
### Identity
|
### Identity
|
||||||
|
Loading…
x
Reference in New Issue
Block a user