spechub
v0.0.4
Published
Save and share markdown specs for AI tools
Downloads
10
Readme
spechub CLI
CLI tool for managing markdown specs in Spechub.
Install
npm install -g spechubCommands
Get
# Fetch spec to stdout
spechub get @username/spec.md
# Pipe to Claude Code
spechub get @username/spec.md | claude
# Fetch specific version
spechub get @username/spec.md --version 2Put
# Create/update spec from stdin
echo "# My Spec" | spechub put @username/spec.md
# From file
cat spec.md | spechub put @username/spec.mdRemove
# Delete spec (with confirmation)
spechub rm @username/spec.mdList
# List your specs
spechub listAuthentication
# Login with API token (get from https://spechub.com/settings)
spechub login
# Logout
spechub logoutConfiguration
The CLI stores authentication in ~/.spechub/config.json after you run spechub login.
