Skip to content

Commit 2361981

Browse files
Ow0castanemoijereja-eden
authored andcommitted
docs: remove command group bot
1 parent 3e4f69e commit 2361981

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content/dev/cli/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This section provides details on using the custom `tux` command-line interface,
44

55
## Environment Selection
66

7-
The `tux` CLI defaults to **development mode** for all command groups (`bot`, `db`, `dev`, `docker`). This ensures that operations like database migrations or starting the bot target your development resources unless explicitly specified otherwise.
7+
The `tux` CLI defaults to **development mode** for all command groups (`db`, `dev`, `docker`). This ensures that operations like database migrations or starting the bot target your development resources unless explicitly specified otherwise.
88

99
* **Production Mode:**
1010
To run a command targeting production resources (e.g., production database, production bot token), you **must** use the global `--prod` flag immediately after `tux`:
@@ -14,7 +14,7 @@ The `tux` CLI defaults to **development mode** for all command groups (`bot`, `d
1414
poetry run tux --prod db migrate
1515

1616
# Example: Start the bot using production token/DB
17-
poetry run tux --prod bot start
17+
poetry run tux --prod start
1818
```
1919

2020
* **Development Mode (Default / Explicit):**
@@ -25,8 +25,8 @@ The `tux` CLI defaults to **development mode** for all command groups (`bot`, `d
2525
poetry run tux db push
2626
poetry run tux --dev db push
2727
28-
poetry run tux bot start
29-
poetry run tux --dev bot start
28+
poetry run tux start
29+
poetry run tux --dev start
3030
```
3131

3232
This default-to-development approach prioritizes safety by preventing accidental operations on production environments. The environment determination logic can be found in `tux/utils/env.py`.

0 commit comments

Comments
 (0)