|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Command-line argument parsing for correlation-cli. More...
#include "analysis/AnalysisTypes.hpp"#include "cli/ConvertCommand.hpp"#include "math/Smoothing.hpp"#include <span>#include <string>

Go to the source code of this file.
Classes | |
| struct | correlation::cli::CliOptions |
| All options that can be set via the command line. More... | |
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. | |
| bool | correlation::cli::parseArgs (int argc, const char *const *argv, CliOptions &opts) |
| C-style entry point overload forwarding to the span interface. | |
Command-line argument parsing for correlation-cli.
Provides the CliOptions struct and the parseArgs / printUsage helpers used by the headless CLI entry point. Extracted into its own translation unit so that the parsing logic can be exercised by unit tests.