scaf 1.0.0
A universal project scaffolding tool.
Public Member Functions | List of all members
Scaf Class Reference

Parses and executes the command line arguments. More...

#include <Scaf.h>

Public Member Functions

 Scaf ()
 
 Scaf (filesystem::path config_path)
 
bool Start (int argc, char **argv)
 

Detailed Description

Parses and executes the command line arguments.

Scaf drives the program execution. It loads the config and parses the command line arguments into the correct commands.

Constructor & Destructor Documentation

◆ Scaf() [1/2]

Scaf::Scaf ( )

Constructor.

◆ Scaf() [2/2]

Scaf::Scaf ( filesystem::path  config_path)

Constructor with config override. For use with testing.

Parameters
config_pathA different configuration path to provide to the Config object.

Member Function Documentation

◆ Start()

bool Scaf::Start ( int  argc,
char **  argv 
)

Begins the parse process with the command-line args.

Parameters
argcThe arg count.
argvThe arg values.
Returns
True for succesful parse. False if there were errors.

The documentation for this class was generated from the following files: