diff options
Diffstat (limited to 'src/bin/ngit/main.rs')
| -rw-r--r-- | src/bin/ngit/main.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bin/ngit/main.rs b/src/bin/ngit/main.rs index ab57f89..f405e94 100644 --- a/src/bin/ngit/main.rs +++ b/src/bin/ngit/main.rs | |||
| @@ -45,11 +45,8 @@ async fn main() { | |||
| 45 | } | 45 | } |
| 46 | }, | 46 | }, |
| 47 | Commands::Init(args) => sub_commands::init::launch(&cli, args).await, | 47 | Commands::Init(args) => sub_commands::init::launch(&cli, args).await, |
| 48 | Commands::List => { | 48 | Commands::List { status, json, id } => { |
| 49 | // list is inherently interactive - it presents menus for | 49 | sub_commands::list::launch(status.clone(), *json, id.clone()).await |
| 50 | // browsing and selecting proposals | ||
| 51 | std::env::set_var("NGIT_INTERACTIVE_MODE", "1"); | ||
| 52 | sub_commands::list::launch().await | ||
| 53 | } | 50 | } |
| 54 | Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await, | 51 | Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await, |
| 55 | Commands::Sync(args) => sub_commands::sync::launch(args).await, | 52 | Commands::Sync(args) => sub_commands::sync::launch(args).await, |