A CLI tool for OJS/OMP/OPS 3.4.0+ to help you to manage your application.
- Download the latest version of
scout.phar
from the Releases page - Add it into your OJS/OMP/OPS root folder
- Run from your terminal
php scout.phar
- Enjoy!
Currently we have this default available commands
Command | Description |
---|---|
help | Display help for a command |
list | List all commands |
inspire | Display an inspiring quote every time |
maintenance | Create the .maintenance file on root folder application.To be use with maintenanceMode plugin |
roles:list | List all roles for a certain context |
users:add | Add an User on a certain context |
users:count_by_role | Count users of a certain context by role |
users:disable | Disable a list of users Ids |
users:enable | Enable a list of users Ids |
users:lists | List all users of a certain context |
During the 2021's holidays, I had an idea to create a tool like Laravel's artisan
for PKP ecosystem. And after a few coding days, scout
was born.
The tool's name came from the military term for perform reconnaissance.
Of course, you will need to use the box-project/box
utility tool to create a phar
file from this repository.
Pull Requests are welcome!