Begin to implement CLI: implement listing, add help, add create stub

This commit is contained in:
Vitaliy Filippov
2021-11-06 14:32:19 +03:00
parent ffb06536ff
commit 8e445ddc9a
8 changed files with 405 additions and 18 deletions
+2
View File
@@ -25,6 +25,7 @@ public:
uint64_t iodepth = 0, parallel_osds = 0;
bool progress = true;
bool list_first = false;
bool json_output = false;
int log_level = 0;
int mode = 0;
@@ -49,6 +50,7 @@ public:
friend struct snap_flattener_t;
friend struct snap_remover_t;
std::function<bool(void)> start_ls(json11::Json cfg);
std::function<bool(void)> start_rm(json11::Json);
std::function<bool(void)> start_merge(json11::Json);
std::function<bool(void)> start_flatten(json11::Json);