N98\Magento\Command\Database\ImportCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('db:import')->addArgument('filename', InputArgument::OPTIONAL, 'Dump filename')->addOption('compression', 'c', InputOption::VALUE_REQUIRED, 'The compression of the specified file')->addOption('only-command', null, InputOption::VALUE_NONE, 'Print only mysql command. Do not execute')->addOption('only-if-empty', null, InputOption::VALUE_NONE, 'Imports only if database is empty')->addOption('optimize', null, InputOption::VALUE_NONE, 'Convert verbose INSERTs to short ones before import (not working with compression)')->addOption('drop', null, InputOption::VALUE_NONE, 'Drop and recreate database before import')->addOption('drop-tables', null, InputOption::VALUE_NONE, 'Drop tables before import')->setDescription('Imports database with mysql cli client according to database defined in local.xml');
        $help = <<<HELP
Imports an SQL file with mysql cli client into current configured database.

You need to have MySQL client tools installed on your system.
HELP;
        $this->setHelp($help);
    }