CBuild
C++ build system with scripts written in c++
|
CBuild cli arguments parser. More...
#include "string"
#include "vector"
#include "../../headers/CBuild.hpp"
#include "../../headers/cli_parse_handler.hpp"
#include "../../headers/map.hpp"
#include "../../headers/print.hpp"
#include "../../headers/register.hpp"
Go to the source code of this file.
Namespaces | |
namespace | CBuild |
Filebuffer for CBuild ecosystem. | |
Functions | |
void | CBuild::exit (int code) |
ARG_TYPE | CBuild::force_handler (lib::map< std::string, std::string > *args, char **argv, int argc, int ptr, CBuild::RType *type) |
ARG_TYPE | CBuild::out_handler (lib::map< std::string, std::string > *args, char **argv, int argc, int ptr, CBuild::RType *type) |
ARG_TYPE | CBuild::generator_handler (lib::map< std::string, std::string > *args, char **argv, int argc, int ptr, CBuild::RType *type) |
ARG_TYPE | CBuild::build_handler (lib::map< std::string, std::string > *args, char **argv, int argc, int ptr, CBuild::RType *type) |
ARG_TYPE | CBuild::task_handler (lib::map< std::string, std::string > *args, char **argv, int argc, int ptr, CBuild::RType *type) |
ARG_TYPE | CBuild::arg_handler (lib::map< std::string, std::string > *args, char **argv, int argc, int ptr, CBuild::RType *type) |
ARG_TYPE | CBuild::rebuild_handler (lib::map< std::string, std::string > *args, char **argv, int argc, int ptr, CBuild::RType *type) |
Variables | |
bool | CBuild::real_exit = true |
int | CBuild::arg = 0 |
int | CBuild::parg = 0 |
lib::map< std::string, handler > | CBuild::parsers_list |
All handlers. | |
CBuild cli arguments parser.
Copyright (C) 2023 WolodiaM This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Definition in file cli_parser.cpp.