mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
Change command-line parsing (again...)
- Added formatted table with `--style` option - Added `warning` log level - Fixed bugs and cleaned up API - Removed some extra debugging output
This commit is contained in:
parent
0238dfd510
commit
b36d55ceee
15 changed files with 685 additions and 255 deletions
|
|
@ -1,11 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include "clipp.h"
|
||||
#include <tuple>
|
||||
#include <functional>
|
||||
#include <type_traits>
|
||||
#include <string>
|
||||
#include <variant>
|
||||
#include <future>
|
||||
#include <any>
|
||||
|
||||
namespace gdpm{
|
||||
class error;
|
||||
|
|
@ -47,6 +49,7 @@ namespace gdpm{
|
|||
using string_list = std::vector<string>;
|
||||
using string_map = std::unordered_map<string, string>;
|
||||
using string_pair = std::pair<string, string>;
|
||||
using any = std::any;
|
||||
using var = std::variant<int, float, bool, string, string_list, string_map, size_t>;
|
||||
template <typename T = var>
|
||||
using _args_t = std::vector<T>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue