A simple command line interface for managing instances of BookStack. Provides the following commands:
-- **Init** - Setup a fresh BookStack installation within a folder.
-- **Backup** - Creates a backup of an existing BookStack installation to a single ZIP file.
-- **Restore** - Restore a backup ZIP into an instance of BookStack.
-- **Update** - Update an existing BookStack installation to the latest version.
+- **init** - Set up a fresh BookStack installation within a folder.
+- **backup** - Creates a backup of an existing BookStack installation to a single ZIP file.
+- **restore** - Restore a backup ZIP into an instance of BookStack.
+- **update** - Update an existing BookStack installation to the latest version.
+- **download-vendor** - Download an extract vendor/ files for a BookStack install.
This CLI is intended to be platform abstract, intended for plain installs that follow our scripts/manual instructions.
This is intended to work independently of BookStack itself, so it can be used even if a BookStack instance is not available or broken, although it could be distributed with and called upon by the core BookStack codebase.
use Cli\Commands\UpdateCommand;
// Setup our CLI
-$app = new Application('bookstack-system-cli', '0.2.0');
+$app = new Application('bookstack-system-cli', '0.3.0');
$app->setCatchExceptions(false);
$app->add(new BackupCommand());