Todos los comandos · evidence
pm item docs
Manage docs linked to an item.
Associates relevant documentation paths with tracker items.
Uso
pm item docs [options] <id>Argumentos
| <id> | Item id | obligatorio |
|---|
Opciones
| --add <value> | Add linked doc entry (CSV/markdown pairs or - for stdin) | opcional |
|---|---|---|
| --add-glob <value> | Add linked doc entries from a glob (plain glob or pattern=<glob>,scope=<scope>,note=<text>; repeatable) | opcional |
| --remove <value> | Remove linked doc by path only (path=<value>, path:<value>, plain path, or - for stdin); does not accept note=/scope= — record removal context with --message | opcional |
| --migrate <value> | Migrate linked doc paths in-place (from=<prefix>,to=<prefix>; repeatable) | opcional |
| --note <value> | Note attached to every link added by --add/--add-glob in this invocation (embedded note= wins) | opcional |
| --list | List linked docs without mutating | opcional |
| --validate-paths | Validate linked doc paths for existence and file shape | opcional |
| --author <value> | Mutation author | opcional |
| --message <value> | History message | opcional |
| --force | Force ownership override | opcional |
Ejemplos
pm item docs pm-a1b2 --add "path=README.md,note=user-facing command guidance"