Scarab
v2.4.8
Project 8 C++ Utility Library
library
test
test_basic_application.cc
Go to the documentation of this file.
1
/*
2
* test_basic_application.cc
3
*
4
* Created on: Jul 23, 2018
5
* Author: N.S. Oblath
6
*
7
* Output examples:
8
*
9
> bin/test_basic_application -v
10
11
2018-07-23 23:25:17 [ PROG] (tid 0x7fff9c9dc380) i/application.cc(36):
12
Executable: "test_basic_application"
13
Location: "/Users/obla999/Work/Project8/Software/scarab/library/build-cli-debug/bin"
14
Built with Scarab version 2.2.0
15
Git commit: 44d2aecaa570180d24cb3b5a2a2a64c792c10059
16
17
> bin/test_basic_application -h
18
19
Usage: bin/test_basic_application [OPTIONS]
20
21
Options:
22
-h,--help Print this help message and exit
23
-c,--config FILE Config file filename
24
--verbosity UINT Global logger verosity
25
-v,--version Print the version message and exit
26
27
> bin/test_basic_application test=teststr test-ordered
28
29
2018-07-24 08:54:26 [ PROG] (tid 0x7fff9c9dc380) i/application.cc(122): Final configuration:
30
31
{
32
test : teststr
33
}
34
35
2018-07-24 08:54:26 [ PROG] (tid 0x7fff9c9dc380) i/application.cc(123): Ordered args:
36
37
[
38
test-ordered
39
]
40
41
*
42
*/
43
44
#include "
application.hh
"
45
46
using namespace
scarab
;
47
48
int
main
(
int
argc,
char
**argv )
49
{
50
main_app
the_main;
51
52
CLI11_PARSE( the_main, argc, argv );
53
54
return
0;
55
}
56
scarab
Definition:
authentication.cc:18
main
int main(int argc, char **argv)
Definition:
test_basic_application.cc:48
application.hh
scarab::main_app
Primary application class.
Definition:
application.hh:252
Generated by
1.8.13