Skip to content

Commit 055704d

Browse files
committed
command update
1 parent 189af89 commit 055704d

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/Commands/GenerateModuleCommand.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,22 @@ public function handle()
4747
die();
4848
}
4949

50+
$this->info("
51+
_____ _ _ _ _ _
52+
/ ____|| | | | | | (_)| |
53+
| (___ | |__ ___ | |_ __ _ | |__ _ | |_
54+
\___ \ | '_ \ / _ \| __|/ _` || '_ \ | || __|
55+
____) || | | || __/| |_| (_| || |_) || || |_
56+
|_____/ |_| |_| \___| \__|\__,_||_.__/ |_| \__|
57+
");
58+
$this->info('Generating ... ');
5059
$processes = count(\config()->get('modulegenerator') , COUNT_RECURSIVE);
5160
$Progress = $this->getOutput()->createProgressBar($processes);
5261
$Progress->setBarCharacter("/");
5362
$moduleGenerator = app(ModuleGenerator::class);
5463
$moduleGenerator->generate();
5564
$Progress->finish();
5665
$this->info("");
57-
$this->alert("Generate Successfully");
66+
$this->info("Generate Successfully");
5867
}
5968
}

src/Commands/PublishModuleGeneratorCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class PublishModuleGeneratorCommand extends Command
2121
*
2222
* @var string
2323
*/
24-
protected $description = 'create your module';
24+
protected $description = 'publish config file';
2525

2626
/**
2727
* Create a new command instance.

0 commit comments

Comments
 (0)