Skip to content

Commit a11aced

Browse files
committed
register the install command
1 parent b92ad9e commit a11aced

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/CloudinaryServiceProvider.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ class CloudinaryServiceProvider extends ServiceProvider
1111
{
1212
public function boot(): void
1313
{
14+
if ($this->app->runningInConsole()) {
15+
$this->commands([
16+
Console\InstallCommand::class,
17+
]);
18+
}
19+
1420
$this->app['filesystem']->extend('cloudinary', function ($app, $config) {
1521
if (isset($config['url'])) {
1622
$cloudinary = new Cloudinary($config['url']);

0 commit comments

Comments
 (0)