What is the CLI?
directify is the official command-line tool. It wraps the Directify REST API so you can manage your directory from your terminal, shell scripts, or CI pipelines — no AI required. It’s ideal for power users and automation.
Install
Requires Node.js 18+.npx:
Connect
Get your API token
In your Directify dashboard, go to Settings → API and click the Key icon to generate a token.
Start managing
--help, and most accept -d, --directory <id> to target a specific directory (overriding the default) and --json for machine-readable output.
Common command groups
| Group | Commands |
|---|---|
auth | login, logout, status |
config | set-directory, get-directory |
directories | list |
listings | list, get, create, update, delete, exists, bulk-create |
categories | list, get, create, update, delete |
tags | list, get, create, update, delete |
fields | list, get, create, update, delete |
organizers | list, get, create, update, delete |
articles | list, get, create, update, delete, toggle |
pages | list, get, create, update, delete, toggle |
directify --help (or directify <group> --help) to see every command and option.
Want to manage your directory by chatting with an AI assistant instead? See the MCP Server guide.
