fix typos

This commit is contained in:
Clément DOUIN
2024-01-05 21:58:02 +01:00
parent 38c8a67ddd
commit 45ce05ec4d
10 changed files with 10 additions and 15 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ pub struct AccountConfigureCommand {
impl AccountConfigureCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing account configure command");
info!("executing configure account command");
let account = &self.account.name;
let (_, account_config) = config.into_toml_account_config(Some(account))?;
+1 -1
View File
@@ -21,7 +21,7 @@ pub struct AccountListCommand {
impl AccountListCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing account list command");
info!("executing list accounts command");
let accounts: Accounts = config.accounts.iter().into();
+1 -1
View File
@@ -80,7 +80,7 @@ pub struct AccountSyncCommand {
impl AccountSyncCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing account sync command");
info!("executing sync account command");
let included_folders = HashSet::from_iter(self.include_folder);
let excluded_folders = HashSet::from_iter(self.exclude_folder);
+1 -6
View File
@@ -20,17 +20,12 @@ pub struct CompletionGenerateCommand {
impl CompletionGenerateCommand {
pub async fn execute(self) -> Result<()> {
info!("executing completion generate command");
info!("executing generate completion command");
let mut cmd = Cli::command();
let name = cmd.get_name().to_string();
clap_complete::generate(self.shell, &mut cmd, name, &mut io::stdout());
info!(
"Shell script successfully generated for shell {}!",
self.shell
);
Ok(())
}
}
@@ -45,7 +45,7 @@ pub struct TemplateForwardCommand {
impl TemplateForwardCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing template forward command");
info!("executing forward template command");
let folder = &self.folder.name;
+1 -1
View File
@@ -41,7 +41,7 @@ pub struct TemplateSaveCommand {
impl TemplateSaveCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing template save command");
info!("executing save template command");
let folder = &self.folder.name;
+1 -1
View File
@@ -37,7 +37,7 @@ pub struct TemplateSendCommand {
impl TemplateSendCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing template send command");
info!("executing send template command");
let (toml_account_config, account_config) = config.clone().into_account_configs(
self.account.name.as_ref().map(String::as_str),
+1 -1
View File
@@ -35,7 +35,7 @@ pub struct FolderDeleteCommand {
impl FolderDeleteCommand {
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
info!("executing folder delete command");
info!("executing delete folder command");
let folder = &self.folder.name;
+1 -1
View File
@@ -22,7 +22,7 @@ pub struct ManualGenerateCommand {
impl ManualGenerateCommand {
pub async fn execute(self, printer: &mut impl Printer) -> Result<()> {
info!("executing manual generate command");
info!("executing generate manuals command");
let cmd = Cli::command();
let cmd_name = cmd.get_name().to_string();