5#ifndef MYSHELL_MSH_INTERNAL_H
6#define MYSHELL_MSH_INTERNAL_H
8#include "types/msh_variable.h"
12constexpr auto SHELL =
"msh";
13constexpr auto VERSION =
"2.0.0";
19void set_variable(
const std::string &name,
const std::string &value);
std::vector< variable > variables
The internal variable table.
Definition msh_internal.cpp:28
void msh_exit()
Perform necessary operations before exiting the shell.
Definition msh_internal.cpp:154
variable * get_variable(std::string_view name)
Get a pointer to an internal variable with the given name.
Definition msh_internal.cpp:78
void set_variable(const std::string &name, const std::string &value)
Set the value of an internal variable with the given name.
Definition msh_internal.cpp:93
void msh_init()
Initialize the shell.
Definition msh_internal.cpp:112
Internal variable structure.
Definition msh_variable.h:13