Skip to content

Commit

Permalink
Re-arrange commands (#2257)
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria authored Jan 29, 2024
1 parent 327f899 commit f70e180
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 88 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\ImageProcessing;

use App\Contracts\Exceptions\ExternalLycheeException;
use App\Metadata\Geodecoder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\ImageProcessing;

use App\Contracts\Exceptions\ExternalLycheeException;
use App\Enum\SizeVariantType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\ImageProcessing;

use App\Contracts\Exceptions\ExternalLycheeException;
use App\Contracts\Exceptions\LycheeException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\ImageProcessing;

use App\Contracts\Exceptions\ExternalLycheeException;
use App\Contracts\Exceptions\InternalLycheeException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\ImageProcessing;

use App\Models\SizeVariant;
use Illuminate\Console\Command;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\ImageProcessing;

use App\Contracts\Exceptions\ExternalLycheeException;
use App\Contracts\Exceptions\LycheeException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\Laravel;

use Illuminate\Support\Facades\Config;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\Laravel;

use App\Actions\Diagnostics\Pipes\Checks\PHPVersionCheck;
use Illuminate\Contracts\Container\BindingResolutionException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\Laravel;

use Illuminate\Console\Command;
use Illuminate\Database\Console\Migrations\FreshCommand;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\Laravel;

use Illuminate\Console\Command;
use Illuminate\Database\Console\Migrations\RefreshCommand;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\Laravel;

use Illuminate\Console\Command;
use Illuminate\Database\Console\Migrations\ResetCommand;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\Laravel;

use Illuminate\Contracts\Container\BindingResolutionException;
use Illuminate\Foundation\Console\OptimizeCommand;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\Legacy;

use Illuminate\Console\Command;

Expand Down
73 changes: 0 additions & 73 deletions app/Console/Commands/Npm.php

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\UserManagment;

use App\Actions\User\Create;
use App\Contracts\Exceptions\ExternalLycheeException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Console\Commands;
namespace App\Console\Commands\UserManagment;

use App\Contracts\Exceptions\ExternalLycheeException;
use App\Models\User;
Expand Down
4 changes: 4 additions & 0 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,9 @@ protected function schedule(Schedule $schedule): void
protected function commands(): void
{
$this->load(__DIR__ . '/Commands');
$this->load(__DIR__ . '/Commands/Laravel');
$this->load(__DIR__ . '/Commands/Legacy');
$this->load(__DIR__ . '/Commands/UserManagment');
$this->load(__DIR__ . '/Commands/ImageProcessing');
}
}

0 comments on commit f70e180

Please sign in to comment.