prdddDocsOpen viewer ↗

prd link

Print a link into the viewer to a section, task, commit, file or line

Usage

prd link [flags] [<ref...>]

Arguments

  • ref (string (repeat 0–∞)). A section ID or a task ID, in the order to link them

Flags

FlagTypeRequiredDefaultDescription
--commitstring (repeat 0–∞)no—A commit, by its full sha
--filestring (repeat 0–∞)no—A file in the diff or commit before it
--linestring (repeat 0–∞)no—A line, 40, or a range, 40-42, in the file before it
--notestring (repeat 0–∞)no—A note, by its id
--oldbooleannofalsePut the --line that follows on the old side of the diff
--passagestring (repeat 0–∞)no—Text quoted from the section right before it
--segmentstring (repeat 0–∞)no—The finished trunk of the stack a root task starts
--stackstring (repeat 0–∞)no—The stack a root task starts
--turnstring (repeat 0–∞)no—A turn of an agent session, as /
--basestringno"http://localhost:4310"The viewer origin (default http://localhost:4310). An empty value prints the path alone.

Global flags

FlagTypeRequiredDefaultDescription
--help -hbooleannofalseShow help information
--version -vbooleannofalseShow version information
--wizardbooleannofalseStart wizard mode for a command
--completionschoiceno—Print shell completion script
--log-levelchoiceno—Sets the minimum log level