Skip to content

Commit 29a2944

Browse files
committed
feat: removed commands unavailable in v4
1 parent 0e2f7e8 commit 29a2944

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

bin/leaf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ $app = new Symfony\Component\Console\Application("
1919

2020
$app->add(new Leaf\Console\CreateCommand);
2121
$app->add(new Leaf\Console\UpdateCommand);
22-
$app->add(new Leaf\Console\TestCommand);
23-
$app->add(new Leaf\Console\TestSetupCommand);
22+
// $app->add(new Leaf\Console\TestCommand);
23+
// $app->add(new Leaf\Console\TestSetupCommand);
2424
$app->add(new Leaf\Console\InstallCommand);
2525
$app->add(new Leaf\Console\UninstallCommand);
2626
$app->add(new Leaf\Console\ServeCommand);
27-
$app->add(new Leaf\Console\DeployCommand);
27+
// $app->add(new Leaf\Console\DeployCommand);
2828
$app->add(new Leaf\Console\InteractCommand);
2929
$app->add(new Leaf\Console\RunCommand);
30-
$app->add(new Leaf\Console\UICommand);
30+
// $app->add(new Leaf\Console\UICommand);
3131
$app->add(new Leaf\Console\ViewBuildCommand);
3232
$app->add(new Leaf\Console\ViewDevCommand);
3333
$app->add(new Leaf\Console\ViewInstallCommand);

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "leafs/cli",
33
"description": "A simple command line tool for installing and interacting with your leaf apps",
44
"homepage": "https://cli.leafphp.dev",
5-
"version": "v2.15.1",
5+
"version": "v2.16",
66
"keywords": [
77
"leaf",
88
"php",

src/CreateCommand.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,10 @@ protected function configure()
4444
->setAliases(['init', 'new'])
4545
->setDescription('Create a new Leaf PHP project')
4646
->addArgument('project-name', InputArgument::OPTIONAL, 'The name of the project')
47-
->addOption('custom', 'c', InputOption::VALUE_NONE, 'Add custom options to your project')
4847
->addOption('basic', null, InputOption::VALUE_NONE, 'Create a raw leaf project')
4948
->addOption('api', null, InputOption::VALUE_NONE, 'Create a new Leaf API project')
5049
->addOption('mvc', null, InputOption::VALUE_NONE, 'Create a new Leaf MVC project')
5150
->addOption('docker', null, InputOption::VALUE_NONE, 'Scaffold a docker environment')
52-
->addOption('phpunit', null, InputOption::VALUE_NONE, 'Add testing with phpunit')
53-
->addOption('pestphp', null, InputOption::VALUE_NONE, 'Add testing with pest')
54-
->addOption('pest', null, InputOption::VALUE_NONE, 'Add testing with pest')
5551
->addOption('no-tests', 'nt', InputOption::VALUE_NONE, 'Create app without tests')
5652
->addOption('force', 'f', InputOption::VALUE_NONE, 'Forces install even if the directory already exists');
5753
}

0 commit comments

Comments
 (0)