You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
})->descriptions('Creates a new PHP class for all or for a given HTML Element');
27
-
$app->command('make:enums', newCreateEnumCommand())->descriptions('Creates backed enums for all HTML attributes with a static set of options');
28
-
$app->command('make:json-specs', newCreateJsonCommand())->descriptions('Simply transforms the YAML specs into JSON');
29
-
$app->command('make:all', function (InputInterface$input, OutputInterface$output) {
27
+
$app->command('make:enums [--specification=]', newCreateEnumCommand())->descriptions('Creates backed enums for all HTML attributes with a static set of options');
28
+
$app->command('make:json-specs [--specification=]', newCreateJsonCommand())->descriptions('Simply transforms the YAML specs into JSON');
29
+
$app->command('make:all [--specification=]', function (InputInterface$input, OutputInterface$output) {
30
30
(newCreateEnumCommand())($input, $output);
31
31
(newCreateClassCommand())(null, $input, $output);
32
32
})->descriptions('Creates or re-creates all PHP classes for all HTML Elements and backed enums for static HTML attributes');
33
33
34
34
// generating Templates (.html,.twig,.php) for HTML elements
35
-
$app->command('generate [generator] [source] [dest]', function (InputInterface$input, OutputInterface$output) {
35
+
$app->command('generate [generator] [source] [dest] [--specification=]', function (InputInterface$input, OutputInterface$output) {
36
36
$output->writeln('Generates templpates. Uses a given generator. Requires a source path with your component YAMLs and a destination path for the generated templates.');
37
37
})->descriptions('Generates templates for HTML Elements');
0 commit comments