docs

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

README

tapper Documentation

This documentation is for end users and contributors working with tapper.

tap is the primary CLI. keg is a narrower project-focused profile built from the same command tree.

Audience And Goals

Use these docs if you need to:

  • set up tapper on your machine
  • configure project-level defaults for a repository
  • inspect or edit a keg's own configuration
  • troubleshoot keg resolution behavior
  • design sustainable KEG structure patterns

Choose Your Path

If you are unsure where to start, read Configuration Overview.

Command Quick Reference

Global keg targeting flags (mutually exclusive)
  • --keg ALIAS — target a keg by alias
  • --project — target the project-local keg
  • --cwd — target the keg in the current working directory
  • --path PATH — target a keg by filesystem path
Node operations
  • tap cat NODE_ID — print node content
  • tap create — create a new node (reads stdin)
  • tap edit NODE_ID — replace node content (reads stdin)
  • tap meta NODE_ID — show or replace node metadata (reads stdin)
  • tap stats NODE_ID — show node statistics
  • tap rm NODE_ID — remove a node
  • tap mv SRC DST — move/renumber a node
  • tap list — list all nodes (supports --query)
  • tap grep QUERY — search node content
  • tap tags [EXPR] — list tags or nodes matching a tag expression (supports --query)
  • tap backlinks NODE_ID — show nodes linking to a given node
Keg operations
  • tap dir [NODE_ID] — print keg or node directory path
  • tap index rebuild — rebuild keg indices
  • tap info — show keg diagnostics
  • tap config — show active keg config
  • tap config edit — edit active keg config (reads stdin)
  • tap graph — output keg link graph
  • tap import FILE — import nodes from a file
Locking
  • tap lock acquire NODE_ID — acquire a cross-process lock on a node
  • tap lock release NODE_ID — release a lock on a node
  • tap lock status NODE_ID — check the lock state of a node
  • tap lock force-release NODE_ID — unconditionally remove a lock
Attachments
  • tap file ls|upload|download|rm — manage node file attachments
  • tap image ls|upload|download|rm — manage node image attachments
Snapshots and archives
  • tap snapshot create NODE_ID -m "message" — capture a node snapshot
  • tap snapshot history NODE_ID — list node snapshot history
  • tap snapshot restore NODE_ID REV --yes — restore a node snapshot
  • tap archive export -o out.keg.tar.gz — export a keg archive
  • tap archive import out.keg.tar.gz — import a keg archive

Snapshot history is included in archives by default. Use --no-history to omit it.

Repository management
  • tap repo init [--keg ALIAS] — initialize a keg with repo config
  • tap repo rm ALIAS — remove a keg alias
  • tap repo list — list configured keg aliases
  • tap repo config — show merged repo config
  • tap repo config --user|--project — show user or project config
  • tap repo config edit --user|--project — edit user or project config (reads stdin)
  • tap repo config template user|project — print starter config templates

Use the project-local profile when you want that narrowed workflow: keg snapshot|archive ...

Common Scenarios

Next Steps

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Content embed.FS

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL