$darkmode
main_usage.hpp File Reference
#include <iostream>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <cloe/utility/xdg.hpp>
#include "main_stack.hpp"
Include dependency graph for main_usage.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  engine::UsageOptions
 

Functions

void engine::show_usage (cloe::Stack s, std::ostream &output)
 
void engine::show_plugin_usage (std::shared_ptr< cloe::Plugin > p, std::ostream &os, bool json, size_t indent)
 
int engine::usage (const UsageOptions &opt, const std::string &argument)
 
template<typename T >
void engine::print_plugin_usage (std::ostream &os, const cloe::Plugin &p, const std::string &prefix=" ")
 
void engine::print_available_plugins (const cloe::Stack &s, std::ostream &os, const std::string &word="Available")
 

Detailed Description

See also
main.cpp

This file contains the "usage" options and command.

Function Documentation

◆ print_available_plugins()

void engine::print_available_plugins ( const cloe::Stack s,
std::ostream &  os,
const std::string &  word = "Available" 
)
inline

Print a nicely formatted list of available plugins.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ show_usage()

void engine::show_usage ( cloe::Stack  s,
std::ostream &  os 
)
inline

Print full program usage.

Here is the call graph for this function:
Here is the caller graph for this function: