Releases: getkirby/cli
1.5.0
1.4.0
🎉 Features
New upgrade
command
Upgrades your kirby
folder and cleans the media/panel
folder #71
kirby upgrade
To upgrade to a specific version, you can add the version as first argument
kirby upgrade 4.1.0
New backup
command
Creates a zip file in a new backup folder. You can either backup your entire site or parts of it. #62
Entire site …
kirby backup
Only parts of it …
kirby backup content
The root argument refers to any root in your installation (e.g. site, accounts, media, etc.)
New clear:lock
command
Removes all lock files in your content folder #59
kirby clear:lock
New clear:logins
command
Removes the .logins file to unblock any failed login attempts. #60
kirby clear:logins
New make:user
command
Creates a new user by taking you through a set of handy prompts. You can also pass email, password, etc. as arguments. #68
kirby make:user
New make:language
command
Creates a new language by taking you through a set of handy prompts. You can also pass language code, reading direction, etc. as arguments. #69
kirby make:language
New plugin commands
plugin:install
Installs a Kirby plugin repository from Github
kirby plugin:install getkirby/kql
plugin:upgrade
Upgrades an already installed Kirby plugin
kirby plugin:upgrade getkirby/kql
plugin:remove
Removes a Kirby plugin
kirby plugin:remove getkirby/kql
New debug mode
Add -d
or --debug
to any command to get full error stacks #64
✨ Enhancements
- Use namespaced class names in
make:model
command #31
🐛 Bug fixes
1.3.0
1.2.0
1.1.1
1.1.0
🎉 Features
- Better Kirby instance detection by loading the index.php and getting settings from there. #17
- CLI commands can now be defined by Kirby plugins https://getkirby.com/docs/reference/plugins/extensions/commands #10
Kirby::plugin('your/plugin', [
'commands' => [
'your-plugin:test' => [
'description' => 'Nice command',
'args' => [],
'command' => function ($cli) {
$cli->success('My first plugin command');
}
]
]
]);
- New
register
command to register the current installation
kirby register --license K3-xxx --email [email protected]
- New
uuid:remove
command to remove all uuids
kirby uuid:remove
- New global
--quiet
option to suppress the output of the command. #20
✨ Enhancements
- Added support for the
XDG_CONFIG_HOME
env variable. #23 - Unit tests and CI
🐛 Bug Fixes
- Hidden files are now extracted correctly #19 & #16
- Old Kirby v2 and v1 installations get no longer loaded by accident #3
- Fixed
clear:cache
fallback #22 - Fixed custom helper loading #12
🚨 Breaking Changes
- Support for the
kirby.cli.json
has been removed in favour of loading theindex.php
1.0.1
1.0.0
This is the first release of the new Kirby command line interface