myshell
2.0.0
Loading...
Searching...
No Matches
msh_builtin_doc.h
1
//
2
// Created by andrew on 10/13/23.
3
//
4
5
#ifndef MYSHELL_MSH_BUILTIN_DOC_H
6
#define MYSHELL_MSH_BUILTIN_DOC_H
7
8
#include <string>
9
13
struct
builtin_doc
{
14
std::string name;
15
std::string args;
16
std::string brief;
17
std::string doc{};
18
19
[[nodiscard]] std::string get_usage()
const
{
20
return
"Usage: "
+ name +
" "
+ args;
21
}
22
};
23
24
#endif
//MYSHELL_MSH_BUILTIN_DOC_H
builtin_doc
Documentation for a built-in command.
Definition
msh_builtin_doc.h:13
inc
types
msh_builtin_doc.h
Generated by
1.10.0