Global flags
These flags work on every command and are left out of the per-command flag tables below. See Output formats for details.| Flag | Description |
|---|---|
--json | Output as JSON |
--quiet | Output raw data only (no envelope) |
--toon | Output in TOON format (token-optimized for AI agents) |
--subdomain | Override saved subdomain |
articles
Manage articles| Command | Description |
|---|---|
neetokb articles archive | Archive an article: it becomes a draft that is kept out of the public knowledge base |
neetokb articles batch-create | Create 1 to 25 articles from a JSON file, all or nothing; items are saved in order, so a later item can relate to an earlier item’s slug |
neetokb articles batch-update | Update 1 to 25 articles from a JSON file, each with its own changes, all or nothing; an article may appear only once |
neetokb articles bulk-trash | Move up to 100 articles to the trash; if one cannot be trashed none are |
neetokb articles bulk-update | Move up to 100 articles to a category, set their state, or archive or unarchive them; give exactly one of —category-id, —state or —status |
neetokb articles clone | Copy an article into a new draft |
neetokb articles create | Create an article |
neetokb articles discard-draft | Throw away the unpublished draft changes of an article and keep its live version |
neetokb articles list | List articles |
neetokb articles revisions list | List the revisions of an article, newest first |
neetokb articles revisions restore | Copy a revision into the draft of an article; the live content does not change until the draft is published |
neetokb articles revisions show | Show a revision with its title and content |
neetokb articles schedules create | Schedule an article to be published or unpublished at a future time; when both kinds exist, the unpublish time must not come after the publish time |
neetokb articles schedules delete | Delete a schedule |
neetokb articles schedules list | List the schedules of an article |
neetokb articles seo show | Show the SEO settings of an article |
neetokb articles seo update | Update the SEO settings of an article; only the given fields change |
neetokb articles show | Show an article |
neetokb articles trash | Move an article to the trash, where it stays for 30 days before it is deleted for good; restore it with trash restore |
neetokb articles unarchive | Bring an archived article back as a draft |
neetokb articles unlisted-links get | Fetch an article’s existing unlisted share link; fails if it has none or it expired, so use unlisted-links regenerate to create one (article-id: slug, permalink identifier a-XXXXXXXX, or UUID; article must be published) |
neetokb articles unlisted-links regenerate | Regenerate an article’s unlisted share link, invalidating the old URL immediately (article-id: slug, permalink identifier a-XXXXXXXX, or UUID; article must be published) |
neetokb articles update | Update an article |
attachments
Manage attachments| Command | Description |
|---|---|
neetokb attachments create | Upload an attachment from a URL or a local file |
authors
List article authors| Command | Description |
|---|---|
neetokb authors list | List authors |
categories
Manage categories| Command | Description |
|---|---|
neetokb categories create | Create a category |
neetokb categories delete | Delete a category; its articles and subcategories move to —move-to-category-id, which a top-level category with content needs |
neetokb categories list | List categories |
neetokb categories reorder-articles | Set the order of articles in a category; articles not listed follow in their current order |
neetokb categories show | Show a category (id: UUID or slug) |
neetokb categories update | Rename, move, reorder or change the privacy of a category; —parent "" moves it to the top level |
doctor
Check CLI health and connectivity| Command | Description |
|---|---|
neetokb doctor | Check CLI health and connectivity |
integrations
Manage integrations| Command | Description |
|---|---|
neetokb integrations neeto-chat | Turn the NeetoChat integration on or off |
login
Authenticate to NeetoKB via browser| Command | Description |
|---|---|
neetokb login | Authenticate to NeetoKB via browser |
logout
Sign out and clear saved credentials| Command | Description |
|---|---|
neetokb logout | Sign out and clear saved credentials |
navigation-links
Manage header and footer navigation links| Command | Description |
|---|---|
neetokb navigation-links list | List the header and footer navigation links |
neetokb navigation-links update | Replace the header links, footer links or both from a JSON file; a set that is sent becomes exactly that list and links left out are deleted |
preferences
Manage your own notification preferences; needs a signed-in user, not an API key| Command | Description |
|---|---|
neetokb preferences show | Show your preferences |
neetokb preferences update | Update your preferences |
recommendations
Manage recommendations| Command | Description |
|---|---|
neetokb recommendations create | Create a recommendation that suggests articles or categories on pages matching a URL |
neetokb recommendations delete | Delete a recommendation |
neetokb recommendations list | List recommendations |
neetokb recommendations show | Show a recommendation with the articles and categories it points to |
neetokb recommendations update | Update a recommendation; —entity replaces all its entities and —clear-entities removes them |
redirections
Manage redirections| Command | Description |
|---|---|
neetokb redirections create | Create a redirection from an old path to a new path or URL |
neetokb redirections delete | Delete a redirection |
neetokb redirections list | List redirections, newest first |
neetokb redirections show | Show a redirection |
neetokb redirections update | Update a redirection; only the given fields change |
reports
Show search and visit reports| Command | Description |
|---|---|
neetokb reports clear failed-searches | Delete the failed searches data for the chosen period, or all of it when no period is given |
neetokb reports clear invalid-urls | Delete the invalid URLs data for the chosen period or URL, or all of it when no filter is given |
neetokb reports clear popular-searches | Delete the popular searches data for the chosen period, or all of it when no period is given |
neetokb reports failed-searches | Show searches that found nothing |
neetokb reports invalid-urls | Show visited URLs that do not exist |
neetokb reports popular-searches | Show the most searched keywords |
neetokb reports visits | Show knowledge base visits per day, oldest first |
search
Search articles| Command | Description |
|---|---|
neetokb search | Search articles |
setup
Set up NeetoKB for AI coding assistants| Command | Description |
|---|---|
neetokb setup claude | Register NeetoKB plugin with Claude Code |
neetokb setup codex | Add NeetoKB instructions for OpenAI Codex |
neetokb setup copilot | Add NeetoKB instructions for GitHub Copilot |
neetokb setup cursor | Write NeetoKB rules for Cursor IDE |
neetokb setup gemini | Add NeetoKB instructions for Gemini CLI |
neetokb setup windsurf | Write NeetoKB rules for Windsurf IDE |
tags
Manage article tags| Command | Description |
|---|---|
neetokb tags create | Create a tag |
neetokb tags delete | Delete a tag; it is removed from every article and the articles are kept |
neetokb tags list | List tags with the number of articles that use them |
neetokb tags merge | Merge tags into one; articles of the secondary tags get the primary tag, which survives, and the secondary tags are deleted |
neetokb tags update | Update a tag |
team-members
Manage team members| Command | Description |
|---|---|
neetokb team-members create | Invite team members |
neetokb team-members delete | Remove a team member |
neetokb team-members list | List team members |
neetokb team-members show | Show a team member |
neetokb team-members update | Update a team member |
themes
Manage themes| Command | Description |
|---|---|
neetokb themes clone | Copy a built-in or custom theme into a new unpublished custom theme that can be edited |
neetokb themes config show | Show the configuration of a theme |
neetokb themes config update | Change the configuration of a custom theme; colors are merged into the current ones |
neetokb themes delete | Delete a custom theme; the published theme cannot be deleted |
neetokb themes fonts create | Add a Google font to a custom theme |
neetokb themes fonts delete | Remove a font from a custom theme |
neetokb themes fonts update | Change a font of a custom theme |
neetokb themes list | List built-in and custom themes |
neetokb themes publish | Make a theme the live theme of the public knowledge base |
neetokb themes show | Show a theme |
neetokb themes update | Rename a custom theme; built-in themes cannot be changed, clone them first |
trash
Manage trashed articles| Command | Description |
|---|---|
neetokb trash delete | Delete a trashed article for good; this cannot be undone |
neetokb trash list | List trashed articles and the days left before each is deleted for good |
neetokb trash restore | Restore a trashed article |
update
Update the CLI to the latest version| Command | Description |
|---|---|
neetokb update | Update the CLI to the latest version |
version
Print the CLI version| Command | Description |
|---|---|
neetokb version | Print the CLI version |
webhooks
Manage webhooks| Command | Description |
|---|---|
neetokb webhooks create | Create a webhook that sends article events to an endpoint |
neetokb webhooks delete | Delete a webhook |
neetokb webhooks events | List the events a webhook can subscribe to |
neetokb webhooks list | List webhooks |
neetokb webhooks show | Show a webhook; its secret is never shown |
neetokb webhooks update | Update a webhook; —event replaces the whole event list |
whoami
Show current authenticated user(s)| Command | Description |
|---|---|
neetokb whoami | Show current authenticated user(s) |
workspace
Manage workspace| Command | Description |
|---|---|
neetokb workspace info | Show workspace information |
neetokb workspace seo show | Show the knowledge base SEO settings |
neetokb workspace seo update | Update the knowledge base SEO settings; —keywords replaces the whole list |
neetokb workspace update | Update the knowledge base name, texts, sign-up, contact section and social sharing settings |