|
FlatImage
A configurable Linux containerization system
|
FlatImage command parsing and execution engine. More...
Namespaces | |
| namespace | ns_interface |
| Command interface definitions and argument structures. | |
Classes | |
| class | VecArgs |
| Vector-based argument container with pop operations. More... | |
Enumerations | |
| enum class | FimCommand { NONE , EXEC , ROOT , PERMS , ENV , DESKTOP , LAYER , BIND , NOTIFY , CASEFOLD , BOOT , REMOTE , RECIPE , INSTANCE , OVERLAY , UNSHARE , VERSION , HELP } |
| Enumeration of FlatImage command types. More... | |
Functions | |
| Value< int > | execute_command (ns_config::FlatImage &fim, int argc, char **argv) |
| Executes a parsed FlatImage command. | |
| Value< FimCommand > | fim_command_from_string (std::string_view str) |
| Convert string to FimCommand enum. | |
| Value< CmdType > | parse (int argc, char **argv) |
| Parses FlatImage commands. | |
FlatImage command parsing and execution engine.
Parses and executes FlatImage commands (fim-exec, fim-perms, fim-env, fim-desktop, etc.). Handles argument parsing, command dispatch, and orchestrates the execution flow for all user-facing FlatImage operations including boot, permissions, bindings, layers, recipes, and desktop integration.
|
strong |
Enumeration of FlatImage command types.
Definition at line 38 of file parser.hpp.
|
inlinenodiscard |
Executes a parsed FlatImage command.
| config | FlatImage configuration object |
| argc | Argument counter |
| argv | Argument vector |
Definition at line 65 of file executor.hpp.
|
inlinenodiscard |
Convert string to FimCommand enum.
| str | Command string (e.g., "fim-exec") |
Definition at line 66 of file parser.hpp.
|
inlinenodiscard |
Parses FlatImage commands.
| argc | Argument counter |
| argv | Argument vector |
Definition at line 185 of file parser.hpp.