ServeCommand constructor

ServeCommand()

Implementation

ServeCommand() {
  argParser
    ..addOption(
      'port',
      help: 'Port to bind the local server to.',
      defaultsTo: '4077',
    )
    ..addOption(
      'host',
      help: 'Interface to bind. Default `localhost` is loopback only.',
      defaultsTo: 'localhost',
    );
}