pitchfork clean
- Usage:
pitchfork clean [--daemon <ID>] [--prune] [NAMESPACE]… - Aliases:
c - Effect: modifies state
Removes stopped/failed daemons from pitchfork list
Cleans up the daemon list by removing entries for daemons that are no longer running. Does not affect running daemons or their configurations.
Use this to clear out old entries after stopping daemons manually or after daemons have failed.
Examples:
pitchfork clean Remove all stopped/failed entries
pitchfork clean my-worktree Remove entries in one namespace
pitchfork clean --daemon api Remove the local namespace's api entry
pitchfork clean --prune Also forget projects whose directories disappeared
With --prune, entries are removed when their working directory no longer exists: stopped daemon records, plus [namespaces] and [slugs] entries in the global config and external config files (pitchfork config add) that point at deleted paths. Namespaces with a running daemon are never touched. pitchfork c Alias for 'clean'
Arguments
[NAMESPACE]…— Only clean daemon registrations in these namespaces
Flags
--daemon <ID>— Only clean these daemons (repeatable; bare names use the current namespace)--prune— Only clean registrations whose working directories no longer exist. Also prunes stale namespaces, slugs and config files from the global config-h --help— Print help
