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
feat!: use standard --flag syntax for executable arguments (#325) (#387)
Switch from `flag=value` to `--flag=value` / `--flag value` syntax for
executable arguments, with `--` separator between flow flags and
executable args. Boolean flags can omit the value (e.g. `--verbose`
implies true). This aligns with POSIX conventions and improves shell
completion support.
BREAKING CHANGE: The previous `flag=value` argument format is no longer
supported. Use `--` to separate flow flags from executable arguments and
prefix flag names with `--`.
Before: flow exec build flag1=value1 pos1
After: flow exec build -- --flag1=value1 pos1
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/cli/flow_exec.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,9 @@ Execute any executable by reference.
8
8
Execute an executable where EXECUTABLE_ID is the target executable's ID in the form of 'ws/ns:name'.
9
9
The flow subcommand used should match the target executable's verb or one of its aliases.
10
10
11
-
If the target executable accept arguments, they can be passed in the form of flag or positional arguments.
12
-
Flag arguments are specified with the format 'flag=value' and positional arguments are specified as values without any prefix.
11
+
If the target executable accepts arguments, use '--' to separate flow flags from executable arguments.
12
+
Flag arguments use standard '--flag=value' or '--flag value' syntax. Boolean flags can omit the value (e.g., '--verbose' implies true).
13
+
Positional arguments are specified as values without any prefix.
13
14
14
15
15
16
See https://flowexec.io/types/flowfile?id=executableverb for more information on executable verbs and https://flowexec.io/types/flowfile?id=executableref for more information on executable IDs.
@@ -40,11 +41,11 @@ flow exec ws/ns:build
40
41
41
42
**Execute the 'build' flow in the 'ws' workspace and 'ns' namespace with flag and positional arguments**
0 commit comments