feat(config): add command to edit config files with preferred editor
Some checks failed
build / checks-matrix (push) Successful in 19m18s
build / codecov (push) Failing after 19m13s
docs / docs (push) Failing after 28m39s
build / checks-build (push) Has been cancelled

This commit is contained in:
uttarayan21
2025-10-13 15:44:52 +05:30
parent 37e682a162
commit 92d69f13f0
3 changed files with 78 additions and 0 deletions

View File

@@ -78,6 +78,13 @@ pub enum ConfigAction {
/// Show possible config file locations
Paths,
/// Edit configuration file with $EDITOR or vi
Edit {
/// Path to config file to edit
#[arg(short, long)]
path: Option<PathBuf>,
},
}
impl Cli {