Todos los comandos · evidence

pm item files

Manage files linked to an item.

Associates changed source files with tracker items for reproducibility.

Uso

pm item files [options] [command] <id>

Argumentos

<id>Item idobligatorio

Opciones

--add <value>Add linked file entry (CSV/markdown pairs or - for stdin)opcional
--add-glob <value>Add linked file entries from a glob (plain glob or pattern=<glob>,scope=<scope>,note=<text>; repeatable)opcional
--remove <value>Remove linked file by path only (path=<value>, path:<value>, plain path, or - for stdin); does not accept note=/scope= — record removal context with --messageopcional
--migrate <value>Migrate linked file 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
--listList linked files without mutatingopcional
--append-stablePreserve existing linked-file order and append new links without full-array resortingopcional
--validate-pathsValidate linked file paths for existence and file shapeopcional
--author <value>Mutation authoropcional
--message <value>History messageopcional
--forceForce ownership overrideopcional

Ejemplos

pm item files pm-a1b2 --add "path=src/cli/main.ts,note=help orchestration"

Comandos relacionados