Release Notes for Cyphernetes v0.8.0:
This release adds initial support for Macros which are predefined queries that can be easily executed with a simple command. This feature enhances productivity by allowing users to quickly run common queries without typing out the full Cypher syntax each time.
Features:
Default Macros: A set of predefined macros for common Kubernetes resource queries.
User-defined Macros: Users can create and save their own macros in a ~/.cyphernetes/macros
file.
Macro Execution: Execute macros using a simple :macro_name syntax in the shell.
Macro Management: List available macros and load macros from files.
Example:
Exposes a deployment, then queries the newly created service for it's cluster IP:
> :expose nginx
Created services/nginx
{
"s": [
{
"ClusterIP": "10.96.86.234",
"Name": "nginx",
"Type": "ClusterIP"
}
]
}
Macro executed in 31.570292ms
Improvements
- Moved history file from
~/.cyphernetes_history
to~/.cyphernetes/history
to allow adding a custom macros file without contaminating the user's home folder