You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: fix CLI flag documentation to use underscore prefix
- Change --command/-c to --_command/-_c
- Change --dry-run to --_dry-run
- Change --no-cache to --_no-cache
- Change --trust to --_trust
- Change --setup/--logs/--help to subcommands (setup/logs/help)
The underscore prefix distinguishes mdflow-consumed flags from
passthrough flags that go to the underlying CLI tool.
If no command can be resolved, you'll get an error with instructions.
@@ -126,17 +126,17 @@ If no command can be resolved, you'll get an error with instructions.
126
126
127
127
Some CLI flags are "hijacked" by mdflow—they're consumed and never passed to the underlying command. This allows generic markdown files without command names to be executed.
128
128
129
-
### `--command` / `-c`
129
+
### `--_command` / `-_c`
130
130
131
131
Override the command for any markdown file:
132
132
133
133
```bash
134
134
# Run a generic .md file with any command
135
-
mdflow task.md --command claude
136
-
mdflow task.md -c gemini
135
+
mdflow task.md --_command claude
136
+
mdflow task.md -_c gemini
137
137
138
138
# Override the filename-inferred command
139
-
mdflow task.claude.md --command gemini # Runs gemini, not claude
139
+
mdflow task.claude.md --_command gemini # Runs gemini, not claude
140
140
```
141
141
142
142
### `_varname` Template Variables
@@ -512,10 +512,10 @@ Fetch content from URLs (markdown and JSON only):
0 commit comments