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.
| Command | What it does |
|---|---|
justflows status | Installation status |
justflows plugin list | Installed plugins |
justflows plugin install <path> | Upload a .jfpkg |
justflows plugin activate <id> | Activate |
justflows plugin deactivate <id> | Deactivate |
justflows theme list | Installed themes |
justflows theme activate <id> | Activate a theme |
justflows user create | Interactive user (roles: administrator, editor, author, contributor, subscriber) |
justflows db migrate | Run SQL migrations |
justflows cache clear | Wipe jf-cache |
justflows health | Health checks |
justflows update | Check / apply updates |
justflows --help / --version | Meta |
bash
export ADMIN_URL=https://example.com
justflows status
justflows cache clear