scsl 0.1.1
Shimmering Clarity Standard Library
Classes | Namespaces | Typedefs
Commander.h File Reference

Subprogram tooling. More...

#include <map>
#include <functional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  scsl::Subcommand
 
class  scsl::Commander
 

Namespaces

namespace  scsl
 scsl is the top-level namespace containing all the code in this library.
 

Typedefs

typedef std::function< bool(int, char **)> scsl::CommanderFunc
 

Detailed Description

Subprogram tooling.

Author
K. Isom kyle@.nosp@m.imap.nosp@m..cc
Date
2023-10-10

Commander is tooling for creating subcommand interfaces for command-line programs. For an example, see phonebook.cc.

The basic idea is to enable writing programs of the form

$ some_tool subcommand args...