Skip to content

bhf/aeron-cache-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aeron Cache CLI

img.png

CI

A CLI on top of the Aeron Cache REST API.

Built in Rust 🦀 using:

asciinema demo

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.

Available commands

It exposes the following commands:

  • create <name>: Create a new cache
  • delete <name>: Delete a cache
  • get-cache <name>: Get all items from a cache
  • clear-cache <name>: Clear all items from a cache
  • insert <name> <key> <value>: Insert an item into a cache
  • get <name> <key>: Get an item from a cache
  • remove <name> <key>: Remove an item from a cache
  • list-caches: List all available caches and their item count
  • stats: Get global cache statistics

Use the --help flag anytime for more information.

Example: cargo run -- create mycache Example: cargo run -- --api-url http://otherhost:7070/api/v1 stats

Releases

No releases published

Packages

 
 
 

Contributors

Languages