mlpack
Namespaces | Functions
parse_command_line.hpp File Reference
#include <mlpack/core.hpp>
#include "print_help.hpp"
#include "third_party/CLI/CLI11.hpp"
Include dependency graph for parse_command_line.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 

Functions

 mlpack::bindings::cli::PARAM_FLAG ("help", "Default help info.", "h")
 
 mlpack::bindings::cli::PARAM_STRING_IN ("info", "Print help on a specific option.", "", "")
 
 mlpack::bindings::cli::PARAM_FLAG ("verbose", "Display informational messages and the full list of " "parameters and timers at the end of execution.", "v")
 
 mlpack::bindings::cli::PARAM_FLAG ("version", "Display the version of mlpack.", "V")
 
void mlpack::bindings::cli::ParseCommandLine (int argc, char **argv)
 Parse the command line, setting all of the options inside of the CLI object to their appropriate given values.
 

Detailed Description

Author
Ryan Curtin
Matthew Amidon

Parse the command line options.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.