[增添]添加了datasource的setting数据库以及默认值

This commit is contained in:
makotocc0107
2024-08-27 09:57:44 +08:00
parent d111dfaea4
commit 72eb990970
10955 changed files with 978898 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#!/usr/bin/env php
<?php
use BladeUI\Icons\Generation\IconGenerator;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\SingleCommandApplication as Command;
if (file_exists(__DIR__.'/../vendor/autoload.php')) {
require __DIR__.'/../vendor/autoload.php';
} else {
require __DIR__.'/../../../autoload.php';
}
return (new Command)->setCode(function (InputInterface $input, OutputInterface $output) {
$output->writeln("Starting to generate icons...");
IconGenerator::create(
require getcwd().'/config/generation.php'
)->generate();
$output->writeln("Finished generating icons!");
return Command::SUCCESS;
})->run();