co browse — open web pages
Open the CollabOps web page for the current context, or print the URL
co browse opens the CollabOps web page for the current context. With no argument it opens the current repo (inferred from the git remote); a numeric argument defaults to a CR. Use the cr/ · c/ · issue/ · i/ · docs/ · d/ prefixes to be explicit about the kind.
co browse # current cwd's git remote -> repo overview
co browse 2786 # CR-2786 (number -> CR)
co browse cr/2786 # CR-2786 (explicit)
co browse issue/2084 # Issue-2084
co browse i/2084 # Issue-2084 (short form)
co browse docs/369 # Doc-369
co browse d/369 # Doc-369 (short form)
co browse 2786 --no-browser # print the URL only (script-friendly)
co browse --repo collabops-one/collabops-cli # from any directory| Flag | Description |
|---|---|
| --pulls | Open the current repo's CR list |
| --issues | Open the workspace issue list |
| --docs | Open the workspace docs list |
| --no-browser | Print the URL to stdout instead of launching a browser |
| --repo <workspace/repo> | Override the repo context |
Don't hand-assemble object URLs — get them from co browse, which builds the correct path for the workspace/number/kind. In scripts, use --no-browser to capture just the URL.