You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the CLI assumes that your backend cache service is reachable at `http://localhost:7070/api/v1`. If you need to override the API base URL, use the `--api-url` flag or the `AERON_CACHE_API_URL` environment variable.
20
+
21
+
## Available commands
22
+
23
+
It exposes the following commands:
24
+
-`create <name>`: Create a new cache
25
+
-`delete <name>`: Delete a cache
26
+
-`get-cache <name>`: Get all items from a cache
27
+
-`clear-cache <name>`: Clear all items from a cache
28
+
-`insert <name> <key> <value>`: Insert an item into a cache
29
+
-`get <name> <key>`: Get an item from a cache
30
+
-`remove <name> <key>`: Remove an item from a cache
31
+
-`list-caches`: List all available caches and their item count
32
+
-`stats`: Get global cache statistics
33
+
34
+
Use the `--help` flag anytime for more information.
35
+
36
+
Example: `cargo run -- create mycache`
37
+
Example: `cargo run -- --api-url http://otherhost:7070/api/v1 stats`
0 commit comments