Commit ba82dd36 authored by Ciarán Ó Rourke's avatar Ciarán Ó Rourke
Browse files

Support command line parsing and configuration files

Change log:
* src/utils directory for configuration, logging, etc
* Config class for handling configuration (command line parsing, etc)
* include Catch2 and CLI11 as system files so clang-tidy will ignore
  them
* support basic command line options:
      - hostname (positional, required)
      - number of threads
      - http_port
      - https_port
* add configuration to fiphoboserver executable main function
* return on exception for incompatible hostname
* return after parsing command line arguments if arguments are bad
  or --help is supplied
* don't pass command line arguments to folly
* Config returns struct of command line options
* accept configuration options from config file
* option to write current configuration to file
* integration tests: reflect changes to fiphoboserver executable
parent 2069f5b6
Pipeline #1432 passed with stages
in 6 minutes and 54 seconds