prd link
Print a link into the viewer to a section, task, commit, file or line
Usage
prd link [flags] [<ref...>]
Arguments
Flags
| Flag | Type | Required | Default | Description |
|---|
--commit | string (repeat 0–∞) | no | — | A commit, by its full sha |
--file | string (repeat 0–∞) | no | — | A file in the diff or commit before it |
--line | string (repeat 0–∞) | no | — | A line, 40, or a range, 40-42, in the file before it |
--note | string (repeat 0–∞) | no | — | A note, by its id |
--old | boolean | no | false | Put the --line that follows on the old side of the diff |
--passage | string (repeat 0–∞) | no | — | Text quoted from the section right before it |
--segment | string (repeat 0–∞) | no | — | The finished trunk of the stack a root task starts |
--stack | string (repeat 0–∞) | no | — | The stack a root task starts |
--turn | string (repeat 0–∞) | no | — | A turn of an agent session, as / |
--base | string | no | "http://localhost:4310" | The viewer origin (default http://localhost:4310). An empty value prints the path alone. |
Global flags
| Flag | Type | Required | Default | Description |
|---|
--help -h | boolean | no | false | Show help information |
--version -v | boolean | no | false | Show version information |
--wizard | boolean | no | false | Start wizard mode for a command |
--completions | choice | no | — | Print shell completion script |
--log-level | choice | no | — | Sets the minimum log level |