diff options
| author | Dan Engelbrecht <[email protected]> | 2024-10-03 12:35:44 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-10-03 12:35:44 +0200 |
| commit | db531191789f48a141c42fef229bca7a7922443d (patch) | |
| tree | cc1570bf8dedccb975d594bd91284ac5d0bd0bae /src/zen/zen.cpp | |
| parent | simplified CleanDirectory implementation (#182) (diff) | |
| download | archived-zen-db531191789f48a141c42fef229bca7a7922443d.tar.xz archived-zen-db531191789f48a141c42fef229bca7a7922443d.zip | |
cache get command (#183)
* move TryParseObjectId and TryParseIoHash to Oid::TryParse and IoHash::TryParse respectively
* zen cache-get command
Diffstat (limited to 'src/zen/zen.cpp')
| -rw-r--r-- | src/zen/zen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zen/zen.cpp b/src/zen/zen.cpp index 79338f6f3..026e8c84f 100644 --- a/src/zen/zen.cpp +++ b/src/zen/zen.cpp @@ -290,6 +290,7 @@ main(int argc, char** argv) AttachCommand AttachCmd; BenchCommand BenchCmd; CacheDetailsCommand CacheDetailsCmd; + CacheGetCommand CacheGetCmd; CacheGenerateCommand CacheGenerateCmd; CacheInfoCommand CacheInfoCmd; CacheStatsCommand CacheStatsCmd; @@ -344,6 +345,7 @@ main(int argc, char** argv) {"bench", &BenchCmd, "Utility command for benchmarking"}, {"cache-details", &CacheDetailsCmd, "Details on cache"}, {"cache-info", &CacheInfoCmd, "Info on cache, namespace or bucket"}, + {CacheGetCommand::Name, &CacheGetCmd, CacheGetCommand::Description}, {CacheGenerateCommand::Name, &CacheGenerateCmd, CacheGenerateCommand::Description}, {"cache-stats", &CacheStatsCmd, "Stats on cache"}, {"copy", &CopyCmd, "Copy file(s)"}, |