command rename
This commit is contained in:
@@ -8,7 +8,7 @@ use Lucent\Data\Schema;
|
|||||||
use Lucent\Schema\SchemaService;
|
use Lucent\Schema\SchemaService;
|
||||||
use Lucent\File\FileService;
|
use Lucent\File\FileService;
|
||||||
|
|
||||||
class CompileSchemas extends Command
|
class CompileSchemasCommand extends Command
|
||||||
{
|
{
|
||||||
protected $signature = "lucent:schemas";
|
protected $signature = "lucent:schemas";
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ use Illuminate\Console\Command;
|
|||||||
use Lucent\File\FileService;
|
use Lucent\File\FileService;
|
||||||
use ZipArchive;
|
use ZipArchive;
|
||||||
|
|
||||||
class Export extends Command
|
class ExportCommand extends Command
|
||||||
{
|
{
|
||||||
protected $signature = "lucent:export";
|
protected $signature = "lucent:export";
|
||||||
protected $prefix = "lucent_";
|
protected $prefix = "lucent_";
|
||||||
+1
-1
@@ -6,7 +6,7 @@ use Illuminate\Console\Command;
|
|||||||
use Lucent\Primitive\Collection;
|
use Lucent\Primitive\Collection;
|
||||||
use Lucent\Schema\CollectionSchema;
|
use Lucent\Schema\CollectionSchema;
|
||||||
|
|
||||||
class GenerateCollectionSchema extends Command
|
class GenerateCollectionSchemaCommand extends Command
|
||||||
{
|
{
|
||||||
|
|
||||||
protected $signature = 'lucent:generate:collection {name}';
|
protected $signature = 'lucent:generate:collection {name}';
|
||||||
@@ -5,7 +5,7 @@ namespace Lucent\Commands;
|
|||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
use Illuminate\Support\Str;
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
class GenerateImageFilter extends Command
|
class GenerateImageFilterCommand extends Command
|
||||||
{
|
{
|
||||||
protected $signature = "lucent:generate:image_filter {name}";
|
protected $signature = "lucent:generate:image_filter {name}";
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@ use Lucent\ResultType\Result;
|
|||||||
use Lucent\ResultType\Success;
|
use Lucent\ResultType\Success;
|
||||||
use ZipArchive;
|
use ZipArchive;
|
||||||
|
|
||||||
class Import extends Command
|
class ImportCommand extends Command
|
||||||
{
|
{
|
||||||
protected $signature = "lucent:import";
|
protected $signature = "lucent:import";
|
||||||
|
|
||||||
@@ -5,7 +5,7 @@ namespace Lucent\Commands;
|
|||||||
use DirectoryIterator;
|
use DirectoryIterator;
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
|
|
||||||
class LiveLink extends Command
|
class LiveLinkCommand extends Command
|
||||||
{
|
{
|
||||||
|
|
||||||
protected $signature = 'lucent:livelink';
|
protected $signature = 'lucent:livelink';
|
||||||
@@ -8,7 +8,7 @@ use Lucent\File\FileRepo;
|
|||||||
use Lucent\File\FileService;
|
use Lucent\File\FileService;
|
||||||
use Lucent\Query\Query;
|
use Lucent\Query\Query;
|
||||||
|
|
||||||
class RebuildThumbnails extends Command
|
class RebuildThumbnailsCommand extends Command
|
||||||
{
|
{
|
||||||
protected $signature = "lucent:rebuild:thumbnails";
|
protected $signature = "lucent:rebuild:thumbnails";
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ use Illuminate\Console\Command;
|
|||||||
use Lucent\Edge\EdgeService;
|
use Lucent\Edge\EdgeService;
|
||||||
use Lucent\Query\Query;
|
use Lucent\Query\Query;
|
||||||
|
|
||||||
class RemoveOrphanEdges extends Command
|
class RemoveOrphanEdgesCommand extends Command
|
||||||
{
|
{
|
||||||
|
|
||||||
protected $signature = 'lucent:removeOrphanEdges';
|
protected $signature = 'lucent:removeOrphanEdges';
|
||||||
@@ -11,7 +11,7 @@ use Lucent\Setup\Step\LucentConfigStep;
|
|||||||
use Lucent\Setup\Step\StorageLinkSetupStep;
|
use Lucent\Setup\Step\StorageLinkSetupStep;
|
||||||
use Lucent\Setup\Step\StorageSetupStep;
|
use Lucent\Setup\Step\StorageSetupStep;
|
||||||
|
|
||||||
class Setup extends Command
|
class SetupCommand extends Command
|
||||||
{
|
{
|
||||||
protected $signature = "lucent:setup";
|
protected $signature = "lucent:setup";
|
||||||
|
|
||||||
@@ -7,7 +7,7 @@ use Illuminate\Database\Schema\Blueprint;
|
|||||||
use Illuminate\Support\Facades\DB;
|
use Illuminate\Support\Facades\DB;
|
||||||
use Lucent\Database\Database;
|
use Lucent\Database\Database;
|
||||||
|
|
||||||
class SetupDatabase extends Command
|
class SetupDatabaseCommand extends Command
|
||||||
{
|
{
|
||||||
protected $signature = "lucent:setup-db";
|
protected $signature = "lucent:setup-db";
|
||||||
protected $prefix = "lucent_";
|
protected $prefix = "lucent_";
|
||||||
@@ -14,16 +14,16 @@ use Lucent\Account\UserRepo;
|
|||||||
use Lucent\Account\UserRepoLucent;
|
use Lucent\Account\UserRepoLucent;
|
||||||
use Lucent\Account\UserRepoLunar;
|
use Lucent\Account\UserRepoLunar;
|
||||||
use Lucent\Channel\ChannelService;
|
use Lucent\Channel\ChannelService;
|
||||||
use Lucent\Commands\CompileSchemas;
|
use Lucent\Commands\CompileSchemasCommand;
|
||||||
use Lucent\Commands\GenerateCollectionSchema;
|
use Lucent\Commands\ExportCommand;
|
||||||
use Lucent\Commands\GenerateImageFilter;
|
use Lucent\Commands\GenerateCollectionSchemaCommand;
|
||||||
use Lucent\Commands\LiveLink;
|
use Lucent\Commands\GenerateImageFilterCommand;
|
||||||
use Lucent\Commands\RebuildThumbnails;
|
use Lucent\Commands\ImportCommand;
|
||||||
use Lucent\Commands\RemoveOrphanEdges;
|
use Lucent\Commands\LiveLinkCommand;
|
||||||
use Lucent\Commands\SetupDatabase;
|
use Lucent\Commands\RebuildThumbnailsCommand;
|
||||||
use Lucent\Commands\Export;
|
use Lucent\Commands\RemoveOrphanEdgesCommand;
|
||||||
use Lucent\Commands\Import;
|
use Lucent\Commands\SetupCommand;
|
||||||
use Lucent\Commands\Setup;
|
use Lucent\Commands\SetupDatabaseCommand;
|
||||||
use Lucent\Data\ChannelAuth;
|
use Lucent\Data\ChannelAuth;
|
||||||
use Lucent\File\FileService;
|
use Lucent\File\FileService;
|
||||||
use Lucent\Query\DatabaseGraph\DatabaseGraph;
|
use Lucent\Query\DatabaseGraph\DatabaseGraph;
|
||||||
@@ -95,16 +95,16 @@ class LucentServiceProvider extends ServiceProvider
|
|||||||
|
|
||||||
if ($this->app->runningInConsole()) {
|
if ($this->app->runningInConsole()) {
|
||||||
$this->commands([
|
$this->commands([
|
||||||
CompileSchemas::class,
|
CompileSchemasCommand::class,
|
||||||
RebuildThumbnails::class,
|
RebuildThumbnailsCommand::class,
|
||||||
LiveLink::class,
|
LiveLinkCommand::class,
|
||||||
RemoveOrphanEdges::class,
|
RemoveOrphanEdgesCommand::class,
|
||||||
SetupDatabase::class,
|
SetupDatabaseCommand::class,
|
||||||
GenerateCollectionSchema::class,
|
GenerateCollectionSchemaCommand::class,
|
||||||
GenerateImageFilter::class,
|
GenerateImageFilterCommand::class,
|
||||||
Export::class,
|
ExportCommand::class,
|
||||||
Import::class,
|
ImportCommand::class,
|
||||||
Setup::class,
|
SetupCommand::class,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user