Skip to content

wtm run export

Export run.toml as JSON on stdout

Emit the current run config as JSON on stdout, whatever --output says: like run url, this is machine output and is never framed. Pipe to a file and use with wtm run import to share configurations.

wtm run export [flags]
wtm run export > run.json
# One profile and its jobs
wtm run export --profile backend > backend.json
# Copy the layout into another clone
wtm run export | (cd ../other-clone && wtm run import - --yes)
-h, --help help for export
--output string Output format: text or json (default "text")
--profile string Export only this profile and its jobs
-q, --quiet Silence human output; errors and the exit code are unaffected, and --output json still emits its document
  • wtm run - Manage dev jobs (services + tasks)