The official command-line tool for Directify lets you manage your directory directly from your terminal. Perfect for scripts, CI/CD pipelines, bulk imports, and anyone who prefers the command line over a web UI.
npm install -g directify-cli
directify auth login
Paste your API token (generate one in Settings > API). The token is stored securely in your local config.
Optionally set a default directory so you don't need to pass --directory on every command:
directify config set default-directory <id>
The CLI mirrors the Directify API, with subcommands for each resource:
directify directories — list your directoriesdirectify listings — list, get, create, update, delete, bulk create listings (alias: ls)directify categories — manage categories (alias: cats)directify tags — manage tagsdirectify articles — manage blog articles (alias: blog)directify pages — manage custom pagesdirectify organizers — manage organizers / agencies (alias: orgs)directify fields — list custom fieldsEach resource supports: list, get, create, update, delete.
# List all listings as JSON
directify listings list --json
# Create a new listing
directify listings create --name "Bella Trattoria" --url "https://bella.com" --categories 5
# Bulk create from a CSV/JSON file
directify listings bulk-create --file listings.json
# Create an organizer and assign to a submitter
directify organizers create --name "Acme Events" --email "[email protected]" --user-id 42
# Update an article
directify articles update 123 --title "New Title" --active true
# Delete a tag
directify tags delete 7
--json flag: machine-readable JSON for piping to jq or other tools