@floggy/cli
v0.5.0
Published
Floggy CLI - headless access to your blog, notes, tasks, and analytics
Readme
@floggy/cli
Headless access to your Floggy blog, notes, tasks, profile, and analytics. Post, upload, search, export, and automate from the terminal.
Install
npm i -g @floggy/cli
# or
pnpm add -g @floggy/cli
# or
bun add -g @floggy/cliRequires Node >= 18 (or any compatible runtime). Single bundled file - no peer deps to install.
Quick start
Generate an API key in the dashboard (Settings, Developer), then:
floggy login # paste flg_... when prompted
floggy whoami
floggy commands # grouped overview of every commandOr use FLOGGY_API_KEY=flg_... for one-off / CI use.
Reference
Full reference (every command, flags, scope table, examples, markdown conversion notes, troubleshooting) lives at floggy.xyz/docs/cli.
Working with collections from the terminal:
- Collections CLI -
pull,push,set,promote. Writes are drafts unless you pass--publish. - Collections overview - schemas, versions, and labels.
If you are a coding agent, start here: floggy.xyz/docs/llms.txt - the whole documentation set in one plain-text file.
Looking for the SDK instead? That is @floggy/cms, a typed client for reading your content into any site.
