Skip to content

Releases: getkirby/cli

1.5.0

21 May 13:14
e1d1856
Compare
Choose a tag to compare

🎉 Features

New option to load a host-specific environment with the new KIRBY_HOST env variable #78

env KIRBY_HOST=production.com kirby mycommand

🐛 Bug fixes

Fixed typo in success message (thanks to @ovenum) #77

1.4.0

29 Feb 15:18
8cb3477
Compare
Choose a tag to compare

🎉 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

  • Fixed unzip command on Linux and Windows #44
  • Fix error handling in clean:content command #61
  • clean:content no longer throws exception on translations #72

1.3.0

06 Feb 10:16
1b7d168
Compare
Choose a tag to compare

🎉 Features

  • New clean:content command #42

🐛 Fixes

  • Improved error handling if a command does not exist or arguments are not valid
  • Fixed broken installation commands when the folder contains special chars #46

🏠 Housekeeping

  • Updated PHPUnit setup

1.2.0

21 Dec 11:56
1d6d72f
Compare
Choose a tag to compare

✨ Enhancements

  • bump guzzlehttp/guzzle from 7.5.0 to 7.5.1 #45
  • Show error trace for exceptions #54
  • Add check for index() expecting to live in vendor/ directory by @adamkiss in #50
  • PHP 8.3 support in #53

Full Changelog: 1.1.1...1.2.0

1.1.1

10 Feb 12:29
0e8074b
Compare
Choose a tag to compare

✨ Enhancements

  • Added support for PHP 8.2 (thanks to @FabienYt)

1.1.0

28 Nov 14:45
91138fa
Compare
Choose a tag to compare

🎉 Features

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 the index.php

1.0.1

05 Oct 13:56
9182f92
Compare
Choose a tag to compare

Enhancements

  • Better docs for the composer home path #6

Fixed

  • composer >2.2 is now required #7
  • kirby make:command foo:bar does now create the correct command #13

1.0.0

02 Oct 12:04
5c7a9cf
Compare
Choose a tag to compare

This is the first release of the new Kirby command line interface