feat(config): add command to edit config files with preferred editor
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user