docs(administration): use flags instead of env vars

This commit is contained in:
Dustin Stiles 2025-03-24 13:57:24 -04:00
parent 19e9674f40
commit bae3a0289f
Signed by: duwstiles
GPG Key ID: BCD9912EC231FC87

View File

@ -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 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
to a different path. We recommend configuring a path in your home directory so that the command
can be run without root privileges. For example, you can set the environment variable to point
to a directory in your home directory, such as `~/.config/dsfxctl`.
`/etc/dsfxctl`, but this can be overridden by setting the **-configDir** cli flag to a different path.
We recommend configuring a path in your home directory so that the command can be run without root
privileges. For example, you can set the flag to point to a directory in your home
directory, such as `~/.config/dsfxctl`.
```bash
export DSFXCTL_CONFIG_DIR=~/.config/dsfxctl
go run koti.casa/numenor-labs/dsfx/cmd/dsfxctl@main -configDir ~/.config/dsfxctl
```
### Identity