Skip to content

Commit 6059a5a

Browse files
committed
Add CLI11 command line parsing lib.
1 parent 5d511e7 commit 6059a5a

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

manifest

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ name: rbx
33
version: 0.1.0-a.0.z
44
language: c++
55
summary: rbx C++ executable
6-
license: other: proprietary ; Not free/open source.
6+
license: BSD 3-clause
77
description-file: README.md
8-
url: https://example.org/rbx
8+
url: https://github.com/rubinius/rbx
99
10-
#build-error-email: [email protected]
10+
build-error-email: [email protected]
11+
1112
depends: * build2 >= 0.16.0
1213
depends: * bpkg >= 0.16.0
13-
#depends: libhello ^1.0.0
14+
depends: cli11 ^2.2.0

rbx/buildfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
libs =
2-
#import libs += libhello%lib{hello}
2+
import libs += cli11%lib{cli11}
33

44
exe{rbx}: {hxx ixx txx cxx}{**} $libs testscript
55

rbx/rbx.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <iostream>
2+
#include <CLI/CLI.hpp>
23

34
int main (int argc, char* argv[])
45
{

repositories.manifest

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
: 1
22
summary: rbx project repository
33

4-
#:
5-
#role: prerequisite
6-
#location: https://pkg.cppget.org/1/stable
7-
#trust: ...
8-
9-
#:
10-
#role: prerequisite
11-
#location: https://git.build2.org/hello/libhello.git
4+
:
5+
role: prerequisite
6+
type: git
7+
location: https://github.com/rubinius/cli11#master

0 commit comments

Comments
 (0)