Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
CliParser.cpp File Reference

Implementation of the command-line argument parser. More...

#include "cli/CliParser.hpp"
#include "math/Constants.hpp"
#include <CLI/CLI.hpp>
#include <algorithm>
#include <filesystem>
#include <iostream>
#include <string>
Include dependency graph for CliParser.cpp:

Namespaces

namespace  correlation
namespace  correlation::cli

Functions

void correlation::cli::printUsage (const char *program)
 Prints the usage / help message to stderr.
bool correlation::cli::parseArgs (std::span< const char *const > argv, CliOptions &opts)
 Parses the command-line arguments into a CliOptions struct.

Detailed Description

Implementation of the command-line argument parser.

License
SPDX-License-Identifier: AGPL-3.0-only