CBuild
C++ build system with scripts written in c++
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
cli_parser.cpp File Reference

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, handlerCBuild::parsers_list
 All handlers.
 

Detailed Description

CBuild cli arguments parser.

Author
WolodiaM (w_mel.nosp@m.nyk@.nosp@m.outlo.nosp@m.ok.c.nosp@m.om)
Date
2023-08-22

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.