JustFlows

CLI

The justflows command: status, plugins, themes, users, migrations, cache, health, and updates.

5 min read

Package @justflows/cli, binary `justflows`. It calls the running site’s admin HTTP API. Set `ADMIN_URL` (default http://localhost:3001) to match APP_URL / PORT.

CommandWhat it does
justflows statusInstallation status
justflows plugin listInstalled plugins
justflows plugin install <path>Upload a .jfpkg
justflows plugin activate <id>Activate
justflows plugin deactivate <id>Deactivate
justflows theme listInstalled themes
justflows theme activate <id>Activate a theme
justflows user createInteractive user (roles: administrator, editor, author, contributor, subscriber)
justflows db migrateRun SQL migrations
justflows cache clearWipe jf-cache
justflows healthHealth checks
justflows updateCheck / apply updates
justflows --help / --versionMeta
bash
export ADMIN_URL=https://example.com
justflows status
justflows cache clear