Skip to content

Commit

Permalink
chore: fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Sep 19, 2024
1 parent 4bccdf8 commit 8151114
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ Specify a name for a custom LocalNet instance. AlgoKit will not manage the confi


### -P, --config-dir <config_path>
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
Expand Down
6 changes: 4 additions & 2 deletions src/algokit/cli/localnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 8151114

Please sign in to comment.