]> BookStack Code Mirror - system-cli/commitdiff
Bumped version and updated readme command list
authorDan Brown <redacted>
Tue, 11 Mar 2025 15:51:17 +0000 (15:51 +0000)
committerDan Brown <redacted>
Tue, 11 Mar 2025 15:51:17 +0000 (15:51 +0000)
readme.md
src/app.php
tests/Commands/DownloadVendorCommandTest.php

index 1af2452c44d6818594474df2e2ee32935ee9c37a..2fea9c1a9357ead23a68241212a6b017baafa01b 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -2,10 +2,11 @@
 
 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.
index a39c59f754a9bcf101c80c1ff875d88aaae964b2..88c185ecd7aa6f354660c90992994ba1fde03849 100644 (file)
@@ -9,7 +9,7 @@ use Cli\Commands\RestoreCommand;
 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());
index 855750f018b108003e4e0b28a1d9a024a803ca35..6bd3a0453b743b03e5a5e8eb493ab1a2483bc6d8 100644 (file)
@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
 
 namespace Commands;