From 055704defe2e4ded7943c8cc355063b5a121a7f3 Mon Sep 17 00:00:00 2001 From: komeyl-dev Date: Sat, 13 Mar 2021 13:41:12 +0330 Subject: [PATCH] command update --- src/Commands/GenerateModuleCommand.php | 11 ++++++++++- src/Commands/PublishModuleGeneratorCommand.php | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/Commands/GenerateModuleCommand.php b/src/Commands/GenerateModuleCommand.php index 6d3a28b..2e76ae2 100644 --- a/src/Commands/GenerateModuleCommand.php +++ b/src/Commands/GenerateModuleCommand.php @@ -47,6 +47,15 @@ public function handle() die(); } + $this->info(" + _____ _ _ _ _ _ + / ____|| | | | | | (_)| | + | (___ | |__ ___ | |_ __ _ | |__ _ | |_ + \___ \ | '_ \ / _ \| __|/ _` || '_ \ | || __| + ____) || | | || __/| |_| (_| || |_) || || |_ + |_____/ |_| |_| \___| \__|\__,_||_.__/ |_| \__| + "); + $this->info('Generating ... '); $processes = count(\config()->get('modulegenerator') , COUNT_RECURSIVE); $Progress = $this->getOutput()->createProgressBar($processes); $Progress->setBarCharacter("/"); @@ -54,6 +63,6 @@ public function handle() $moduleGenerator->generate(); $Progress->finish(); $this->info(""); - $this->alert("Generate Successfully"); + $this->info("Generate Successfully"); } } diff --git a/src/Commands/PublishModuleGeneratorCommand.php b/src/Commands/PublishModuleGeneratorCommand.php index dc63f0b..19b8c4a 100644 --- a/src/Commands/PublishModuleGeneratorCommand.php +++ b/src/Commands/PublishModuleGeneratorCommand.php @@ -21,7 +21,7 @@ class PublishModuleGeneratorCommand extends Command * * @var string */ - protected $description = 'create your module'; + protected $description = 'publish config file'; /** * Create a new command instance.