FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
ns_cmd::ns_help::HelpEntry Class Reference

Public Member Functions

 HelpEntry (std::string const &name)
 
HelpEntrywith_usage (std::string_view usage)
 
HelpEntrywith_example (std::string_view example)
 
HelpEntrywith_note (std::string_view note)
 
HelpEntrywith_description (std::string_view description)
 
HelpEntrywith_args (std::vector< std::pair< std::string, std::string > > args)
 
std::string get ()
 

Detailed Description

Definition at line 35 of file help.hpp.

Constructor & Destructor Documentation

◆ HelpEntry()

ns_cmd::ns_help::HelpEntry::HelpEntry ( std::string const & name)
inline

Definition at line 41 of file help.hpp.

Member Function Documentation

◆ get()

std::string ns_cmd::ns_help::HelpEntry::get ( )
inline

Definition at line 73 of file help.hpp.

◆ with_args()

HelpEntry & ns_cmd::ns_help::HelpEntry::with_args ( std::vector< std::pair< std::string, std::string > > args)
inline

Definition at line 65 of file help.hpp.

◆ with_description()

HelpEntry & ns_cmd::ns_help::HelpEntry::with_description ( std::string_view description)
inline

Definition at line 60 of file help.hpp.

◆ with_example()

HelpEntry & ns_cmd::ns_help::HelpEntry::with_example ( std::string_view example)
inline

Definition at line 50 of file help.hpp.

◆ with_note()

HelpEntry & ns_cmd::ns_help::HelpEntry::with_note ( std::string_view note)
inline

Definition at line 55 of file help.hpp.

◆ with_usage()

HelpEntry & ns_cmd::ns_help::HelpEntry::with_usage ( std::string_view usage)
inline

Definition at line 45 of file help.hpp.


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