wtm run open
This content is for v0.28. Switch to the latest version for up-to-date documentation.
Open a job's URL in the browser
Synopsis
Section titled “Synopsis”Hand a job's URL to the desktop's own opener. [worktree] defaults to the current one, and is picked interactively when there is a terminal. A worktree publishing one URL opens it; when several jobs publish one, --job names it, and is required outside a fully interactive run — a picker never runs under a pipe, under --yes or in --output json mode.
wtm run open [worktree] [flags]Examples
Section titled “Examples” wtm run open
wtm run open feat/login --job web
# The port URL instead of the named one wtm run open feat/login --job web --rawOptions
Section titled “Options” -h, --help help for open --job string Job whose URL to open (required when several jobs publish one, outside a fully interactive run) --output string Output format: text or json (default "text") --raw Open the port URL (http://localhost:<port>) instead of the named URL -y, --yes Skip the pickers; --job is then required when several jobs publish a URLOptions inherited from parent commands
Section titled “Options inherited from parent commands” -q, --quiet Silence human output; errors and the exit code are unaffected, and --output json still emits its documentSEE ALSO
Section titled “SEE ALSO”- wtm run - Manage dev jobs (services + tasks)