14 #ifndef MLPACK_BINDINGS_CLI_PRINT_DOC_FUNCTIONS_HPP
15 #define MLPACK_BINDINGS_CLI_PRINT_DOC_FUNCTIONS_HPP
79 template<
typename T,
typename... Args>
88 template<
typename... Args>
118 #include "print_doc_functions_impl.hpp"
std::string PrintTypeDocs()
Print documentation for each of the types.
std::string GetBindingName(const std::string &bindingName)
Given the name of a binding, print its command-line name (this returns "mlpack_<bindingName>".
std::string PrintImport(const std::string &bindingName)
Print any imports for CLI (there are none, so this returns an empty string).
std::string ParamString(const std::string ¶mName)
Print what a user would type to invoke the given option name.
std::string PrintDataset(const std::string &dataset)
Print a dataset type parameter (add .csv and return).
bool IgnoreCheck(const T &)
Return whether or not a runtime check on parameters should be ignored.
std::string PrintOutputOptionInfo()
Print any special information about output options.
std::string PrintType(const util::ParamData ¶m)
Print the type of a parameter that a user would specify from the command-line.
std::string PrintDefault(const std::string ¶mName)
Given a parameter name, print its corresponding default value.
string(REGEX REPLACE".*#define MLPACK_VERSION_MINOR ([0-9]+).*""\\1"MLPACK_VERSION_MINOR"${VERSION_HPP_CONTENTS}") string(REGEX REPLACE".* "\\1" MLPACK_VERSION_PATCH "$
std::string PrintValue(const T &value, bool quotes)
Given a parameter type, print the corresponding value.
std::string PrintModel(const std::string &model)
Print a model type parameter (add .bin and return).
std::string ProcessOptions()
Base case for recursion.
std::string ProgramCall(const std::string &programName, Args...args)
Given a program name and arguments for it, print what its invocation would be.