FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
parser.hpp File Reference

Parses FlatImage commands. More...

#include <cstdlib>
#include <ranges>
#include <set>
#include <string>
#include <expected>
#include <print>
#include "../macro.hpp"
#include "interface.hpp"
#include "cmd/help.hpp"
Include dependency graph for parser.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns_parser::VecArgs
 Vector-based argument container with pop operations. More...
 

Namespaces

namespace  ns_parser
 FlatImage command parsing and execution engine.
 

Enumerations

enum class  ns_parser::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< FimCommandns_parser::fim_command_from_string (std::string_view str)
 Convert string to FimCommand enum.
 
Value< CmdType > ns_parser::parse (int argc, char **argv)
 Parses FlatImage commands.
 

Detailed Description

Parses FlatImage commands.

Author
Ruan Formigoni

Definition in file parser.hpp.