Skip to content

Commit dca3492

Browse files
Ow0castanemoijereja-eden
authored andcommitted
docs: move flags to end of command
1 parent 2361981 commit dca3492

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
@@ -11,10 +11,10 @@ The `tux` CLI defaults to **development mode** for all command groups (`db`, `de
1111

1212
```bash
1313
# Example: Apply migrations to production database
14-
poetry run tux --prod db migrate
14+
poetry run tux db migrate --prod
1515

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

2020
* **Development Mode (Default / Explicit):**
@@ -23,10 +23,10 @@ The `tux` CLI defaults to **development mode** for all command groups (`db`, `de
2323
```bash
2424
# These are equivalent and run in development mode:
2525
poetry run tux db push
26-
poetry run tux --dev db push
26+
poetry run tux db push --dev
2727
2828
poetry run tux start
29-
poetry run tux --dev start
29+
poetry run tux start --dev
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)