2017-10-13 18:37:41 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <vcpkg/vcpkgcmdarguments.h>
|
|
|
|
#include <vcpkg/vcpkgpaths.h>
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace vcpkg::Help
|
|
|
|
{
|
2017-11-02 18:17:21 -07:00
|
|
|
extern const CommandStructure COMMAND_STRUCTURE;
|
|
|
|
|
2017-10-13 18:37:41 -07:00
|
|
|
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths);
|
|
|
|
|
|
|
|
void help_topic_valid_triplet(const VcpkgPaths& paths);
|
|
|
|
|
|
|
|
void print_usage();
|
|
|
|
|
|
|
|
std::string create_example_string(const std::string& command_and_arguments);
|
2020-03-25 10:50:27 -07:00
|
|
|
|
|
|
|
struct HelpTableFormatter
|
|
|
|
{
|
|
|
|
void format(StringView col1, StringView col2);
|
|
|
|
|
|
|
|
std::string m_str;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void newline_indent();
|
|
|
|
void indent();
|
|
|
|
};
|
|
|
|
|
2017-10-13 18:37:41 -07:00
|
|
|
}
|