32 lines
673 B
PHP
32 lines
673 B
PHP
<?php namespace ZN\Console;
|
|
/**
|
|
* ZN PHP Web Framework
|
|
*
|
|
* "Simplicity is the ultimate sophistication." ~ Da Vinci
|
|
*
|
|
* @package ZN
|
|
* @license MIT [http://opensource.org/licenses/MIT]
|
|
* @author Ozan UYKUN [ozan@znframework.com]
|
|
*/
|
|
|
|
use ZN\Config;
|
|
use Generate;
|
|
|
|
/**
|
|
* @command create-grand-vision
|
|
* @description create-grand-vision [database name]
|
|
*/
|
|
class CreateGrandVision
|
|
{
|
|
/**
|
|
* Magic constructor
|
|
*
|
|
* @param string $command = NULL
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct($command = NULL)
|
|
{
|
|
new Result(Generate::grandVision($command ?: Config::get('Database', 'database')['database']));
|
|
}
|
|
} |