diff --git a/docs/cli/index.md b/docs/cli/index.md index 1a30dbbd..50337058 100644 --- a/docs/cli/index.md +++ b/docs/cli/index.md @@ -823,7 +823,7 @@ Specify a name for a custom LocalNet instance. AlgoKit will not manage the confi ### -P, --config-dir -Specify the custom localnet configuration directory. Defaults to '/Users/aorumbayev/.config/algokit'. +Specify the custom localnet configuration directory. Defaults to '~/.config' on UNIX and 'C:\\Users\\USERNAME\\AppData\\Roaming' on Windows. ### -d, --dev, --no-dev diff --git a/src/algokit/cli/localnet.py b/src/algokit/cli/localnet.py index 42078c20..47b5a665 100644 --- a/src/algokit/cli/localnet.py +++ b/src/algokit/cli/localnet.py @@ -9,7 +9,6 @@ from algokit.cli.explore import explore_command from algokit.cli.goal import goal_command from algokit.core import proc -from algokit.core.conf import get_app_config_dir from algokit.core.config_commands.container_engine import get_container_engine, save_container_engine from algokit.core.sandbox import ( COMPOSE_VERSION_COMMAND, @@ -136,7 +135,10 @@ def config_command(*, engine: str | None, force: bool) -> None: type=click.Path(exists=True, readable=True, file_okay=False, resolve_path=True, path_type=Path), default=lambda: os.environ.get("ALGOKIT_LOCALNET_CONFIG_DIR", None), required=False, - help=f"Specify the custom localnet configuration directory. Defaults to '{get_app_config_dir()}'.", + help=( + "Specify the custom localnet configuration directory. Defaults to '~/.config' on UNIX and " + "'C:\\\\Users\\\\USERNAME\\\\AppData\\\\Roaming' on Windows." + ), ) @click.option( "--dev/--no-dev",