LazyRecord\Command\InitCommand::execute PHP Method

execute() public method

public execute ( )
    public function execute()
    {
        $this->mkpath('db/config');
        $this->mkpath('db/migration');
        $command = $this->createCommand('LazyRecord\\Command\\InitConfCommand');
        $command->execute();
        $command = $this->createCommand('LazyRecord\\Command\\BuildConfCommand');
        $command->execute('db/config/database.yml');
    }