diff options
Diffstat (limited to 'src/sub_commands')
| -rw-r--r-- | src/sub_commands/fetch.rs | 2 | ||||
| -rw-r--r-- | src/sub_commands/init.rs | 2 | ||||
| -rw-r--r-- | src/sub_commands/login.rs | 2 | ||||
| -rw-r--r-- | src/sub_commands/push.rs | 2 | ||||
| -rw-r--r-- | src/sub_commands/send.rs | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/sub_commands/fetch.rs b/src/sub_commands/fetch.rs index ab6e0fc..b1e83c5 100644 --- a/src/sub_commands/fetch.rs +++ b/src/sub_commands/fetch.rs | |||
| @@ -9,10 +9,10 @@ use crate::client::Client; | |||
| 9 | #[cfg(test)] | 9 | #[cfg(test)] |
| 10 | use crate::client::MockConnect; | 10 | use crate::client::MockConnect; |
| 11 | use crate::{ | 11 | use crate::{ |
| 12 | cli::Cli, | ||
| 12 | client::{fetching_with_report, Connect}, | 13 | client::{fetching_with_report, Connect}, |
| 13 | git::{Repo, RepoActions}, | 14 | git::{Repo, RepoActions}, |
| 14 | repo_ref::get_repo_coordinates, | 15 | repo_ref::get_repo_coordinates, |
| 15 | Cli, | ||
| 16 | }; | 16 | }; |
| 17 | 17 | ||
| 18 | #[derive(clap::Args)] | 18 | #[derive(clap::Args)] |
diff --git a/src/sub_commands/init.rs b/src/sub_commands/init.rs index 28ba21b..ba188c9 100644 --- a/src/sub_commands/init.rs +++ b/src/sub_commands/init.rs | |||
| @@ -10,6 +10,7 @@ use crate::client::Client; | |||
| 10 | #[cfg(test)] | 10 | #[cfg(test)] |
| 11 | use crate::client::MockConnect; | 11 | use crate::client::MockConnect; |
| 12 | use crate::{ | 12 | use crate::{ |
| 13 | cli::Cli, | ||
| 13 | cli_interactor::{Interactor, InteractorPrompt, PromptInputParms}, | 14 | cli_interactor::{Interactor, InteractorPrompt, PromptInputParms}, |
| 14 | client::{fetching_with_report, get_repo_ref_from_cache, Connect}, | 15 | client::{fetching_with_report, get_repo_ref_from_cache, Connect}, |
| 15 | git::{Repo, RepoActions}, | 16 | git::{Repo, RepoActions}, |
| @@ -18,7 +19,6 @@ use crate::{ | |||
| 18 | extract_pks, get_repo_config_from_yaml, save_repo_config_to_yaml, | 19 | extract_pks, get_repo_config_from_yaml, save_repo_config_to_yaml, |
| 19 | try_and_get_repo_coordinates, RepoRef, | 20 | try_and_get_repo_coordinates, RepoRef, |
| 20 | }, | 21 | }, |
| 21 | Cli, | ||
| 22 | }; | 22 | }; |
| 23 | 23 | ||
| 24 | #[derive(Debug, clap::Args)] | 24 | #[derive(Debug, clap::Args)] |
diff --git a/src/sub_commands/login.rs b/src/sub_commands/login.rs index 6f49ba8..77fecdd 100644 --- a/src/sub_commands/login.rs +++ b/src/sub_commands/login.rs | |||
| @@ -5,7 +5,7 @@ use clap; | |||
| 5 | use crate::client::Client; | 5 | use crate::client::Client; |
| 6 | #[cfg(test)] | 6 | #[cfg(test)] |
| 7 | use crate::client::MockConnect; | 7 | use crate::client::MockConnect; |
| 8 | use crate::{client::Connect, git::Repo, login, Cli}; | 8 | use crate::{cli::Cli, client::Connect, git::Repo, login}; |
| 9 | 9 | ||
| 10 | #[derive(clap::Args)] | 10 | #[derive(clap::Args)] |
| 11 | pub struct SubCommandArgs { | 11 | pub struct SubCommandArgs { |
diff --git a/src/sub_commands/push.rs b/src/sub_commands/push.rs index acd91f0..56927fe 100644 --- a/src/sub_commands/push.rs +++ b/src/sub_commands/push.rs | |||
| @@ -5,6 +5,7 @@ use crate::client::Client; | |||
| 5 | #[cfg(test)] | 5 | #[cfg(test)] |
| 6 | use crate::client::MockConnect; | 6 | use crate::client::MockConnect; |
| 7 | use crate::{ | 7 | use crate::{ |
| 8 | cli::Cli, | ||
| 8 | client::{fetching_with_report, get_repo_ref_from_cache, Connect}, | 9 | client::{fetching_with_report, get_repo_ref_from_cache, Connect}, |
| 9 | git::{str_to_sha1, Repo, RepoActions}, | 10 | git::{str_to_sha1, Repo, RepoActions}, |
| 10 | login, | 11 | login, |
| @@ -21,7 +22,6 @@ use crate::{ | |||
| 21 | identify_ahead_behind, send_events, | 22 | identify_ahead_behind, send_events, |
| 22 | }, | 23 | }, |
| 23 | }, | 24 | }, |
| 24 | Cli, | ||
| 25 | }; | 25 | }; |
| 26 | 26 | ||
| 27 | #[derive(Debug, clap::Args)] | 27 | #[derive(Debug, clap::Args)] |
diff --git a/src/sub_commands/send.rs b/src/sub_commands/send.rs index 73c980b..07eb343 100644 --- a/src/sub_commands/send.rs +++ b/src/sub_commands/send.rs | |||
| @@ -20,6 +20,7 @@ use crate::client::Client; | |||
| 20 | #[cfg(test)] | 20 | #[cfg(test)] |
| 21 | use crate::client::MockConnect; | 21 | use crate::client::MockConnect; |
| 22 | use crate::{ | 22 | use crate::{ |
| 23 | cli::Cli, | ||
| 23 | cli_interactor::{ | 24 | cli_interactor::{ |
| 24 | Interactor, InteractorPrompt, PromptConfirmParms, PromptInputParms, PromptMultiChoiceParms, | 25 | Interactor, InteractorPrompt, PromptConfirmParms, PromptInputParms, PromptMultiChoiceParms, |
| 25 | }, | 26 | }, |
| @@ -29,7 +30,6 @@ use crate::{ | |||
| 29 | git::{Repo, RepoActions}, | 30 | git::{Repo, RepoActions}, |
| 30 | login, | 31 | login, |
| 31 | repo_ref::{get_repo_coordinates, RepoRef}, | 32 | repo_ref::{get_repo_coordinates, RepoRef}, |
| 32 | Cli, | ||
| 33 | }; | 33 | }; |
| 34 | 34 | ||
| 35 | #[derive(Debug, clap::Args)] | 35 | #[derive(Debug, clap::Args)] |