Browse Source

Use CLI11 instead of clipp for command line parsing.

pull/1/head
Sam Hocevar 4 years ago
parent
commit
2f9c6b29f7
4 changed files with 14 additions and 6 deletions
  1. +3
    -3
      .gitmodules
  2. +1
    -0
      include/lol/3rdparty/cli11
  3. +0
    -1
      include/lol/3rdparty/clipp
  4. +10
    -2
      include/lol/cli

+ 3
- 3
.gitmodules View File

@@ -13,6 +13,6 @@
path = include/lol/3rdparty/portable-file-dialogs
url = ../../samhocevar/portable-file-dialogs.git
branch = master
[submodule "clipp"]
path = include/lol/3rdparty/clipp
url = ../../muellan/clipp.git
[submodule "cli11"]
path = include/lol/3rdparty/cli11
url = ../../lolengine/ext-cli11.git

+ 1
- 0
include/lol/3rdparty/cli11

@@ -0,0 +1 @@
Subproject commit 5b2c30b5d577056039bcccfea7156b35f244621c

+ 0
- 1
include/lol/3rdparty/clipp

@@ -1 +0,0 @@
Subproject commit 2c32b2f1f7cc530b1ec1f62c92f698643bb368db

+ 10
- 2
include/lol/cli View File

@@ -13,12 +13,20 @@
#pragma once

#include "private/push_macros.h"
#include "3rdparty/clipp/include/clipp.h"
#include "3rdparty/cli11/include/CLI/CLI.hpp"
#include "private/pop_macros.h"

namespace CLI
{

using app = App;

};

namespace lol
{

namespace cli = clipp;
namespace cli = CLI;

};


Loading…
Cancel
Save