Skip to content

wtm run profile edit

This content is for v0.28. Switch to the latest version for up-to-date documentation.

Edit an existing profile

Edit a profile declared in /wtm/run.toml.

Pass --name, --jobs or --default to change those fields and nothing else: a flag left out keeps the field as it is. --jobs replaces the whole list — its order is the start order, so it is given in full — and --default=false takes the default away without handing it to another profile.

With no such flag, the form opens pre-filled with the current values, and without an argument it prompts to pick from the existing profiles.

wtm run profile edit [name] [flags]
# The form, pre-filled
wtm run profile edit backend
# --jobs replaces the list, in start order
wtm run profile edit backend --jobs postgres,api --yes
wtm run profile edit backend --default --yes
--default Mark this profile as the default (--default=false takes it away)
-h, --help help for edit
--jobs strings Comma-separated existing job names, in start order (replaces the list)
--name string Rename the profile
--output string Output format: text or json (default "text")
-y, --yes Skip all prompts; a field flag is then required
-q, --quiet Silence human output; errors and the exit code are unaffected, and --output json still emits its document