Closed DanielHe4rt closed 3 months ago
After running/installing the first time, would be good to generate a default config file with all keys used in our project.
Here's a sample:
[connection] hostname = "127.0.0.1" port = 9142 [cql] version = "3.3.1" [prompt] style = "ScyllaSH> " [colors] keyword = "cyan" string = "green" number = "yellow" error = "red" [metrics] enabled = true refresh_interval = 5
The most important ATM would be the connection section, which can be merged with clap.rs if empty.
connection
clap.rs
~/.scyllash/config.toml
config.toml
Feature: Config File
After running/installing the first time, would be good to generate a default config file with all keys used in our project.
Here's a sample:
The most important ATM would be the
connection
section, which can be merged withclap.rs
if empty.Tasks
~/.scyllash/config.toml
config.toml
as fallback in case the user doesn't fill the required fields.