Skip to content

Commit f7fc1ba

Browse files
committed
remove all admin command
1 parent d56bc5b commit f7fc1ba

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

src/Console/Commands/Helper/CreateHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ public function handle()
5252

5353
// HelperServiceProvider
5454
if (!file_exists($this->provider_path)) {
55-
5655
$this->info(PHP_EOL . 'Creating HelperServiceProvider...');
5756
$service_provider_path = $this->loadHelperServiceProvider(self::TPL_PATH);
5857
$this->info('ServicePovider created at ' . $service_provider_path);
5958
}
6059

6160

61+
6262
// Create Helper
6363
$this->info(PHP_EOL . 'Creating Helper...');
6464
$helper_path = $this->loadHelper(self::TPL_PATH);

src/ServiceProvider.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
namespace Guysolamour\Command;
44

5-
6-
use Guysolamour\Command\Console\Commands\Admin\Edit;
7-
use Guysolamour\Command\Console\Commands\Admin\Create;
8-
use Guysolamour\Command\Console\Commands\Admin\Delete;
95
use Guysolamour\Command\Console\Commands\Database\FillModel;
106
use Guysolamour\Command\Console\Commands\Entity\CreateEntity;
117
use Guysolamour\Command\Console\Commands\Helper\CreateHelper;
@@ -24,9 +20,6 @@ public function boot()
2420

2521
if ($this->app->runningInConsole()) {
2622
$this->commands([
27-
Create::class,
28-
Delete::class,
29-
Edit::class,
3023
CreateDatabase::class,
3124
DropDatabase::class,
3225
FillModel::class,
@@ -43,9 +36,9 @@ public function register()
4336
'command'
4437
);
4538

46-
$this->app->bind('command', function () {
47-
return new Command();
48-
});
39+
// $this->app->bind('command', function () {
40+
// return new Command();
41+
// });
4942
}
5043
}
5144

0 commit comments

Comments
 (0)