mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
feat: Implement starship configure command (#751)
This commit is contained in:
committed by
Matan Kushner
parent
c82aeb70db
commit
a4c5c00a73
@@ -4,6 +4,7 @@ extern crate clap;
|
||||
mod bug_report;
|
||||
mod config;
|
||||
mod configs;
|
||||
mod configure;
|
||||
mod context;
|
||||
mod init;
|
||||
mod module;
|
||||
@@ -110,6 +111,7 @@ fn main() {
|
||||
.arg(&keymap_arg)
|
||||
.arg(&jobs_arg),
|
||||
)
|
||||
.subcommand(SubCommand::with_name("configure").about("Edit the starship configuration"))
|
||||
.subcommand(SubCommand::with_name("bug-report").about(
|
||||
"Create a pre-populated GitHub issue with information about your configuration",
|
||||
))
|
||||
@@ -137,6 +139,7 @@ fn main() {
|
||||
print::module(module_name, sub_m.clone());
|
||||
}
|
||||
}
|
||||
("configure", Some(_)) => configure::edit_configuration(),
|
||||
("bug-report", Some(_)) => bug_report::create(),
|
||||
_ => {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user