LazyRecord\Console::init PHP Method

init() public method

public init ( )
    public function init()
    {
        parent::init();
        /*
         * Command for initialize related file structure
         */
        $this->command('init');
        /*
         * Command for building config file.
         */
        $this->command('build-conf', 'LazyRecord\\Command\\BuildConfCommand');
        $this->command('conf', 'LazyRecord\\Command\\BuildConfCommand');
        $this->command('init-conf', 'LazyRecord\\Command\\InitConfCommand');
        $this->command('schema');
        // the schema command builds all schema files and shows a diff after building new schema
        $this->command('basedata');
        $this->command('sql');
        $this->command('diff');
        $this->command('migrate');
        $this->command('meta');
        $this->command('version');
        $this->command('db');
        $this->command('data-source');
        $this->command('table');
        $this->command('index');
    }