diff --git a/ChangeLog.md b/ChangeLog.md index c5667db..6a8ad66 100755 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -3,6 +3,10 @@ Dialog change log ## ?.?.? / ????-??-?? +* Upgraded `xp-framework/command` library, being able to adjust the + argument methods' prefixes to the much nicer *use*. + (@thekid) + ## 2.0.0 / 2024-03-24 * Changed main font from *Overpass* to *Barlow* - its rounded edges diff --git a/composer.json b/composer.json index f44d33f..91703e6 100755 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "require": { "xp-framework/compiler": "^9.0", "xp-framework/imaging": "^10.1", - "xp-framework/command": "^11.0", + "xp-framework/command": "^12.0", "xp-framework/networking": "^10.4", "xp-forge/web": "^4.0", "xp-forge/web-auth": "^4.0", diff --git a/src/main/php/de/thekid/dialog/import/LocalDirectory.php b/src/main/php/de/thekid/dialog/import/LocalDirectory.php index c5829ff..0c72cc0 100755 --- a/src/main/php/de/thekid/dialog/import/LocalDirectory.php +++ b/src/main/php/de/thekid/dialog/import/LocalDirectory.php @@ -36,13 +36,13 @@ public function using(string $api): void { /** Transfers images even if they have not been changed */ #[Arg] - public function setForce() { + public function useForce() { $this->force= true; } /** Add verbose logging for API calls */ #[Arg] - public function setVerbose() { + public function useVerbose() { $this->api->setTrace(Logging::all()->toConsole()); }