Skip to content

Commit

Permalink
feat: #3 register content make command to package
Browse files Browse the repository at this point in the history
  • Loading branch information
m-triassi committed Nov 20, 2023
1 parent 9ac70c5 commit 44787b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ContentableServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Plank\Contentable;

use Plank\Contentable\Commands\ContentMakeCommand;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

Expand All @@ -11,6 +12,7 @@ public function configurePackage(Package $package): void
{
$package
->name('contentable')
->hasCommand(ContentMakeCommand::class)
->hasConfigFile()
->hasMigrations([
'create_contents_table',
Expand Down

0 comments on commit 44787b6

Please sign in to comment.