├── .editorconfig ├── .github ├── FUNDING.yml ├── dependabot.yml └── workflows │ └── ci.yml ├── .gitignore ├── .php-cs-fixer.dist.php ├── LICENSE.md ├── README.md ├── bin └── kirby ├── bootstrap.php ├── commands ├── backup.php ├── clean │ └── content.php ├── clear │ ├── cache.php │ ├── lock.php │ ├── logins.php │ ├── media.php │ └── sessions.php ├── download.php ├── help.php ├── install.php ├── install │ ├── kit.php │ └── repo.php ├── license │ ├── info.php │ └── renewal.php ├── make │ ├── _templates │ │ ├── collection.php │ │ ├── command.php │ │ ├── config.php │ │ ├── controller.php │ │ ├── model.php │ │ ├── plugin.php │ │ ├── snippet.php │ │ └── template.php │ ├── blueprint.php │ ├── collection.php │ ├── command.php │ ├── config.php │ ├── controller.php │ ├── language.php │ ├── model.php │ ├── plugin.php │ ├── snippet.php │ ├── template.php │ └── user.php ├── migrate │ └── to │ │ ├── _templates │ │ ├── index.public.simple.php │ │ └── index.root.simple.php │ │ ├── public-folder.php │ │ └── root-folder.php ├── plugin │ ├── install.php │ ├── remove.php │ └── upgrade.php ├── register.php ├── remove │ └── command.php ├── roots.php ├── security.php ├── unzip.php ├── upgrade.php ├── uuid │ ├── duplicates.php │ ├── generate.php │ ├── populate.php │ └── remove.php └── version.php ├── composer.json ├── composer.lock ├── phpmd.xml.dist ├── phpunit.xml.dist ├── psalm.xml.dist ├── src └── CLI │ ├── CLI.php │ ├── Commands │ ├── Migrate │ │ └── To │ │ │ ├── PublicFolder.php │ │ │ └── RootFolder.php │ └── UUID │ │ └── Duplicates.php │ └── QuietWriter.php └── tests ├── CLI ├── BootstrapTest.php ├── CLITest.php ├── TestCase.php ├── bootstrap │ ├── a │ │ └── index.php │ ├── b │ │ └── www │ │ │ └── index.php │ ├── c │ │ └── public │ │ │ └── index.php │ └── d │ │ └── public_html │ │ └── index.php └── commands │ ├── invalid-action.php │ ├── invalid-format.php │ ├── nested │ ├── _templates │ │ └── template.php │ ├── command.php │ └── not-a-command.txt │ └── test.php └── bootstrap.php /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | custom: ['https://getkirby.com/buy'] 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/.gitignore -------------------------------------------------------------------------------- /.php-cs-fixer.dist.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/.php-cs-fixer.dist.php -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/README.md -------------------------------------------------------------------------------- /bin/kirby: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/bin/kirby -------------------------------------------------------------------------------- /bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/bootstrap.php -------------------------------------------------------------------------------- /commands/backup.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/backup.php -------------------------------------------------------------------------------- /commands/clean/content.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/clean/content.php -------------------------------------------------------------------------------- /commands/clear/cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/clear/cache.php -------------------------------------------------------------------------------- /commands/clear/lock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/clear/lock.php -------------------------------------------------------------------------------- /commands/clear/logins.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/clear/logins.php -------------------------------------------------------------------------------- /commands/clear/media.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/clear/media.php -------------------------------------------------------------------------------- /commands/clear/sessions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/clear/sessions.php -------------------------------------------------------------------------------- /commands/download.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/download.php -------------------------------------------------------------------------------- /commands/help.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/help.php -------------------------------------------------------------------------------- /commands/install.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/install.php -------------------------------------------------------------------------------- /commands/install/kit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/install/kit.php -------------------------------------------------------------------------------- /commands/install/repo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/install/repo.php -------------------------------------------------------------------------------- /commands/license/info.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/license/info.php -------------------------------------------------------------------------------- /commands/license/renewal.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/license/renewal.php -------------------------------------------------------------------------------- /commands/make/_templates/collection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/_templates/collection.php -------------------------------------------------------------------------------- /commands/make/_templates/command.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/_templates/command.php -------------------------------------------------------------------------------- /commands/make/_templates/config.php: -------------------------------------------------------------------------------- 1 | true 5 | ]; 6 | -------------------------------------------------------------------------------- /commands/make/_templates/controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/_templates/controller.php -------------------------------------------------------------------------------- /commands/make/_templates/model.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/_templates/model.php -------------------------------------------------------------------------------- /commands/make/_templates/plugin.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /commands/make/_templates/template.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/_templates/template.php -------------------------------------------------------------------------------- /commands/make/blueprint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/blueprint.php -------------------------------------------------------------------------------- /commands/make/collection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/collection.php -------------------------------------------------------------------------------- /commands/make/command.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/command.php -------------------------------------------------------------------------------- /commands/make/config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/config.php -------------------------------------------------------------------------------- /commands/make/controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/controller.php -------------------------------------------------------------------------------- /commands/make/language.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/language.php -------------------------------------------------------------------------------- /commands/make/model.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/model.php -------------------------------------------------------------------------------- /commands/make/plugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/plugin.php -------------------------------------------------------------------------------- /commands/make/snippet.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/snippet.php -------------------------------------------------------------------------------- /commands/make/template.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/template.php -------------------------------------------------------------------------------- /commands/make/user.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/make/user.php -------------------------------------------------------------------------------- /commands/migrate/to/_templates/index.public.simple.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/migrate/to/_templates/index.public.simple.php -------------------------------------------------------------------------------- /commands/migrate/to/_templates/index.root.simple.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/migrate/to/_templates/index.root.simple.php -------------------------------------------------------------------------------- /commands/migrate/to/public-folder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/migrate/to/public-folder.php -------------------------------------------------------------------------------- /commands/migrate/to/root-folder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/migrate/to/root-folder.php -------------------------------------------------------------------------------- /commands/plugin/install.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/plugin/install.php -------------------------------------------------------------------------------- /commands/plugin/remove.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/plugin/remove.php -------------------------------------------------------------------------------- /commands/plugin/upgrade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/plugin/upgrade.php -------------------------------------------------------------------------------- /commands/register.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/register.php -------------------------------------------------------------------------------- /commands/remove/command.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/remove/command.php -------------------------------------------------------------------------------- /commands/roots.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/roots.php -------------------------------------------------------------------------------- /commands/security.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/security.php -------------------------------------------------------------------------------- /commands/unzip.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/unzip.php -------------------------------------------------------------------------------- /commands/upgrade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/upgrade.php -------------------------------------------------------------------------------- /commands/uuid/duplicates.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/uuid/duplicates.php -------------------------------------------------------------------------------- /commands/uuid/generate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/uuid/generate.php -------------------------------------------------------------------------------- /commands/uuid/populate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/uuid/populate.php -------------------------------------------------------------------------------- /commands/uuid/remove.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/uuid/remove.php -------------------------------------------------------------------------------- /commands/version.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/commands/version.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/composer.lock -------------------------------------------------------------------------------- /phpmd.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/phpmd.xml.dist -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /psalm.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/psalm.xml.dist -------------------------------------------------------------------------------- /src/CLI/CLI.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/src/CLI/CLI.php -------------------------------------------------------------------------------- /src/CLI/Commands/Migrate/To/PublicFolder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/src/CLI/Commands/Migrate/To/PublicFolder.php -------------------------------------------------------------------------------- /src/CLI/Commands/Migrate/To/RootFolder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/src/CLI/Commands/Migrate/To/RootFolder.php -------------------------------------------------------------------------------- /src/CLI/Commands/UUID/Duplicates.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/src/CLI/Commands/UUID/Duplicates.php -------------------------------------------------------------------------------- /src/CLI/QuietWriter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/src/CLI/QuietWriter.php -------------------------------------------------------------------------------- /tests/CLI/BootstrapTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/tests/CLI/BootstrapTest.php -------------------------------------------------------------------------------- /tests/CLI/CLITest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/tests/CLI/CLITest.php -------------------------------------------------------------------------------- /tests/CLI/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getkirby/cli/HEAD/tests/CLI/TestCase.php -------------------------------------------------------------------------------- /tests/CLI/bootstrap/a/index.php: -------------------------------------------------------------------------------- 1 | 'Test', 5 | ]; 6 | -------------------------------------------------------------------------------- /tests/CLI/commands/invalid-format.php: -------------------------------------------------------------------------------- 1 |