protected function ExportCommand::configure in Commerce Demo 8        
                          
                  
                        Same name and namespace in other branches
- 8.2 src/Command/ExportCommand.php \Drupal\commerce_demo\Command\ExportCommand::configure()
File
 
   - src/Command/ExportCommand.php, line 80
Class
  
  - ExportCommand 
- Class ExportCommand.
Namespace
  Drupal\commerce_demo\Command
Code
protected function configure() {
  $this
    ->setName('commerce_demo:export')
    ->setDescription($this
    ->trans('commands.commerce_demo.export.description'))
    ->addOption('directory', '', InputOption::VALUE_OPTIONAL, $this
    ->trans('commands.commerce_demo.export.options.directory'))
    ->addArgument('entity_type', InputArgument::REQUIRED, $this
    ->trans('commands.commerce_demo.export.arguments.entity_type'))
    ->addArgument('bundle', InputArgument::REQUIRED, $this
    ->trans('commands.commerce_demo.export.arguments.bundle'));
}