3 description = "BookStack command-line actions"
8 BookStack has some command line actions that can help with maintenence and common operations. There are also many commands available from the undlying Laravel framework. To list all available commands you can simply run `php artisan` from your BookStack install folder. Custom BookStack commands are all under the 'bookstack' namespace.
10 ### BookStack Commands
12 Here's a listing of the BookStack specific commands:
16 # Delete all activity history from the system
17 php artisan bookstack:clear-activity
19 # Delete all page revisions from the system
20 php artisan bookstack:clear-revisions
22 # Delete all page revisions from the system including update drafts
23 php artisan bookstack:clear-revisions -a
25 # Delete all page views from the system
26 php artisan bookstack:clear-views
28 # Regenerate access permissions - Used mostly in development.
29 php artisan bookstack:regenerate-permissions