Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Commit 20a05f9

Browse files
committed
Merge branch 'main' of github.com:coderflexx/laracommand into main
2 parents 6cc9517 + 2c7dc4e commit 20a05f9

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

CHANGELOG.md

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

33
All notable changes to `lara-commands` will be documented in this file.
44

5+
## v1.0.0 - 2022-02-05
6+
7+
## Initial release.
8+
9+
- Add `laracommand:make-model` console command
10+
511
## 1.0.0 - 2022-05-02
612

713
- initial release

src/Console/Concerns/InteractsWithConsoleCommands.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
trait InteractsWithConsoleCommands
1111
{
12-
1312
/**
1413
* Loop through the name arguments and, create each record individualy
1514
* @param string $command
@@ -26,12 +25,11 @@ public function loopThroughNameArgumentWith(string $command): bool
2625
);
2726

2827
if (
29-
count( array_filter($this->getListOfOptions()) )
28+
count(array_filter($this->getListOfOptions()))
3029
) {
3130
$this->line("<options=bold,reverse;fg=green> {$name} assets created successfully.</>\n");
3231
$this->line("----------------------------------------------------------------\n");
3332
}
34-
3533
});
3634

3735
$this->line("<options=bold,reverse;fg=green> DONE </> 🤙\n");

src/LaraCommandsServiceProvider.php

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

33
namespace Coderflex\LaraCommand;
44

5-
use Spatie\LaravelPackageTools\Package;
6-
use Spatie\LaravelPackageTools\PackageServiceProvider;
75
use Coderflex\LaraCommand\Console\{
86
ModelMakeCommand
97
};
8+
use Spatie\LaravelPackageTools\Package;
9+
use Spatie\LaravelPackageTools\PackageServiceProvider;
1010

1111
class LaraCommandsServiceProvider extends PackageServiceProvider
1212
{

0 commit comments

Comments
 (0)