Skip to content

taggor projects

List and clean the project folders Taggor keeps for you.

Subcommands: taggor projects list, taggor projects clean.

List the projects under ~/.taggor/projects and whether each has unpublished work.

Usage
npx taggor projects list [options]

Also takes the common options: --json, --no-input.

Examples
npx taggor projects list

Exit codes: 0 ok, 1 generic, 2 usage. What each code means.

Delete managed project folders (never one with unpublished work, unless --force; it exits 5 after printing when it kept one, and with --json the result says ok: true, so read the exit code).

Usage
npx taggor projects clean [options]
Argument What it does Default
--older-than <value> Only folders not touched for at least this many days. -
--force Delete folders with unpublished changes too. -

Also takes the common options: --json, --no-input.

Examples
npx taggor projects clean --older-than 30

Exit codes: 0 ok, 1 generic, 2 usage, 5 conflict. What each code means.