From bae3a0289f2f8ac5ecaf9b14bd9c8efb2eb20ceb Mon Sep 17 00:00:00 2001 From: Dustin Stiles Date: Mon, 24 Mar 2025 13:57:24 -0400 Subject: [PATCH] docs(administration): use flags instead of env vars --- docs/administration.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/administration.md b/docs/administration.md index d52b9d0..48e4280 100644 --- a/docs/administration.md +++ b/docs/administration.md @@ -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