Codeception\Command\DbSnapshot::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('db:snapshot')->setDescription('Takes a snapshot of a database to be shared as a fixture.')->addArgument('snapshot', InputArgument::REQUIRED, 'Specifies the filename (without extension) of the snapshot files.')->addArgument('name', InputArgument::REQUIRED, 'Specifies the name of the database to snapshot.')->addOption('host', null, InputOption::VALUE_OPTIONAL, 'If set the specified host will be used to connect to the database', 'localhost')->addOption('user', 'u', InputOption::VALUE_OPTIONAL, 'If set the specified user will be used to connect to the database', 'root')->addOption('pass', 'p', InputOption::VALUE_OPTIONAL, 'If set the specified password will be used to connect to the database', 'root')->addOption('dump-file', null, InputOption::VALUE_OPTIONAL, 'If set the local version of the database will be dumped in the specified file; should be absolute path or a path relative to the root folder.')->addOption('dist-dump-file', null, InputOption::VALUE_OPTIONAL, 'If set the distribution version of the database will be dumped in the specified file; should be absolute path or a path relative to the root folder.')->addOption('skip-tables', null, InputOption::VALUE_OPTIONAL, 'A comma separated list of tables that should not be included in the dump.')->addOption('local-url', null, InputOption::VALUE_OPTIONAL, 'The local setup domain that should be replaced in the distribution version of the dump file.', 'http://local.dev')->addOption('dist-url', null, InputOption::VALUE_OPTIONAL, 'The distribution setup domain that should be used in the distribution version of the dump file.', 'http://dist.dev');
        parent::configure();
    }