feat build
: Create new ArtisanCommandConstructor
This commit is contained in:
parent
c2d0864e31
commit
4dbffbdd60
1 changed files with 21 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
namespace Pterodactyl\Console\Commands\BlueprintFramework\Extensions\[id^];
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
use Pterodactyl\BlueprintFramework\Libraries\ExtensionLibrary\Console\BlueprintConsoleLibrary as BlueprintExtensionLibrary;
|
||||
|
||||
class __ArtisanCommand__ extends Command
|
||||
{
|
||||
protected $signature = '[IDENTIFIER]:[SIGNATURE]';
|
||||
protected $description = '[DESCRIPTION]';
|
||||
|
||||
public function __construct(
|
||||
private BlueprintExtensionLibrary $blueprint,
|
||||
) { parent::__construct(); }
|
||||
|
||||
public function handle()
|
||||
{
|
||||
require_once base_path().'/.blueprint/extensions/[IDENTIFIER]/console/functions/[FILENAME]';
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue