CARDS 2.4.121
Package manager for the NuTyX GNU/Linux distribution
cards_argument_parser.h
1
//
2
// cards_argument_parser.h
3
//
4
// Copyright (c) 2013 - 2020 by NuTyX team (http://nutyx.org)
5
//
6
// This program is free software; you can redistribute it and/or modify
7
// it under the terms of the GNU General Public License as published by
8
// the Free Software Foundation; either version 2 of the License, or
9
// (at your option) any later version.
10
//
11
// This program is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
// GNU General Public License for more details.
15
//
16
// You should have received a copy of the GNU General Public License
17
// along with this program; if not, write to the Free Software
18
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19
// USA.
20
//
21
22
#ifndef CARDS_ARGUMENT_PARSER_H
23
#define CARDS_ARGUMENT_PARSER_H
24
25
#include "argument_parser.h"
26
27
class
CardsArgumentParser
:
public
ArgParser
28
{
29
public
:
30
CardsArgumentParser
();
31
virtual
~
CardsArgumentParser
() {};
32
33
static
ArgParser::APCmd
CMD_HELP;
34
static
ArgParser::APCmd
CMD_CONFIG;
35
static
ArgParser::APCmd
CMD_BASE;
36
static
ArgParser::APCmd
CMD_FILES;
37
static
ArgParser::APCmd
CMD_SYNC;
38
static
ArgParser::APCmd
CMD_INFO;
39
static
ArgParser::APCmd
CMD_QUERY;
40
static
ArgParser::APCmd
CMD_LIST;
41
static
ArgParser::APCmd
CMD_INSTALL;
42
static
ArgParser::APCmd
CMD_DEPCREATE;
43
static
ArgParser::APCmd
CMD_CREATE;
44
static
ArgParser::APCmd
CMD_REMOVE;
45
static
ArgParser::APCmd
CMD_DIFF;
46
static
ArgParser::APCmd
CMD_LEVEL;
47
static
ArgParser::APCmd
CMD_DEPENDS;
48
static
ArgParser::APCmd
CMD_DEPTREE;
49
static
ArgParser::APCmd
CMD_SEARCH;
50
static
ArgParser::APCmd
CMD_PURGE;
51
static
ArgParser::APCmd
CMD_UPGRADE;
52
53
static
ArgParser::APOpt
OPT_CHECK;
54
static
ArgParser::APOpt
OPT_SIZE;
55
56
static
ArgParser::APOpt
OPT_FULL;
57
static
ArgParser::APOpt
OPT_FORCE;
58
static
ArgParser::APOpt
OPT_UPDATE;
59
60
static
ArgParser::APOpt
OPT_INSTALLED;
61
static
ArgParser::APOpt
OPT_BINARIES;
62
static
ArgParser::APOpt
OPT_PORTS;
63
64
static
ArgParser::APOpt
OPT_IGNORE;
65
66
static
ArgParser::APOpt
OPT_DISABLE;
67
68
static
ArgParser::APOpt
OPT_DRY;
69
static
ArgParser::APOpt
OPT_REMOVE;
70
static
ArgParser::APOpt
OPT_ALL;
71
static
ArgParser::APOpt
OPT_LEVEL_SILENCE;
72
73
static
ArgParser::APOpt
OPT_ROOT;
74
static
ArgParser::APOpt
OPT_CONFIG_FILE;
75
76
std::string
getAppIdentification
()
const
77
{
78
return
std::string(
"cards "
) + VERSION +
"\n"
;
79
}
80
};
81
82
#endif
83
// vim:set ts=2 :
CardsArgumentParser::getAppIdentification
std::string getAppIdentification() const
Definition:
cards_argument_parser.h:76
CardsArgumentParser
Definition:
cards_argument_parser.h:28
ArgParser::APOpt
Definition:
argument_parser.h:72
ArgParser::APCmd
Definition:
argument_parser.h:105
ArgParser
argument parser class
Definition:
argument_parser.h:57
src
cards_argument_parser.h
Generated on Tue Aug 25 2020 06:11:42 for CARDS 2.4.121 by
1.8.19