Skip to content
  • Ciarán Ó Rourke's avatar
    Support command line parsing and configuration files · ba82dd36
    Ciarán Ó Rourke authored
    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
    ba82dd36