You are here

protected function StaticPreviewCommand::configure in Tome 8

File

modules/tome_static/src/Commands/StaticPreviewCommand.php, line 43

Class

StaticPreviewCommand
Contains the tome:preview command.

Namespace

Drupal\tome_static\Commands

Code

protected function configure() {
  $this
    ->setName('tome:preview')
    ->setDescription('Preview your static site.')
    ->addOption('port', NULL, InputOption::VALUE_OPTIONAL, 'The port to run the server on.', 8889);
}