Skip to content

mochi executable edit ​

Replace one executable's definition in its flow file

Synopsis ​

Replaces the executable at REF (e.g. run ws/ns:name) with the JSON definition in --data. The rest of the flow file, including comments, is left as it is.

shell
mochi executable edit REF [flags]

Options ​

FlagTypeDescription
--datastringJSON executable definition (required)
-h, --helphelp for edit
-o, --outputstringOutput format: text or json (default "text")

Options inherited from parent commands ​

FlagTypeDescription
-L, --log-levelstringLog verbosity level (debug, info, fatal) (default "info")
--syncSync flow cache and workspaces

See also ​