Pionia Core

ScaffoldFrontendCommand extends BaseCommand
in package

Scaffolds any frontend project in the right directory using a package manage of choice and a frontend framework of choice.

Command is mostly interactive

Tags
since
1.1.6

Table of Contents

Properties

$description  : string
$directory  : string
$frameworks  : array<string|int, mixed>
$name  : string
$packageManager  : string
$pManagers  : array<string|int, mixed>

Methods

askFrameworkOptions()  : bool|string
configure()  : void
execute()  : int
Scaffolds a full frontend framework

Properties

$description

protected string $description = 'Scaffolds any frontend project in the right directory using a package manage of choice and a frontend framework of choice. Command is mostly interactive..'

$frameworks

protected array<string|int, mixed> $frameworks = ['Vue', 'React', 'Z-js', 'Qwik', 'Lit', 'Preact', 'Svelte', 'Solid']

Methods

askFrameworkOptions()

protected askFrameworkOptions(mixed $input, mixed $output[, bool|null $shouldYes = false ]) : bool|string
Parameters
$input : mixed
$output : mixed
$shouldYes : bool|null = false
Return values
bool|string

execute()

Scaffolds a full frontend framework

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

        
On this page

Search results