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

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->addArgument('search', InputArgument::OPTIONAL, 'Only output variables of specified name. The wildcard % is supported!')->addOption('format', null, InputOption::VALUE_OPTIONAL, 'Output Format. One of [' . implode(',', RendererFactory::getFormats()) . ']')->addOption('rounding', null, InputOption::VALUE_OPTIONAL, 'Amount of decimals to display. If -1 then disabled', 0)->addOption('no-description', null, InputOption::VALUE_NONE, 'Disable description');
    }

Usage Example

    protected function configure()
    {
        parent::configure();
        $this->setName('db:variables')->setDescription('Shows important variables or custom selected');
        $help = <<<HELP
This command is useful to print all important variables about the current database.
HELP;
        $this->setHelp($help);
    }
All Usage Examples Of N98\Magento\Command\Database\AbstractShowCommand::configure