fix default command

This commit is contained in:
Clément DOUIN
2024-01-03 22:49:39 +01:00
parent 0352e91e36
commit 70fad9b1fd
6 changed files with 35 additions and 7 deletions
+8
View File
@@ -18,6 +18,14 @@ pub struct FolderNameOptionalArg {
pub name: String,
}
impl Default for FolderNameOptionalArg {
fn default() -> Self {
Self {
name: INBOX.to_owned(),
}
}
}
/// The required folder name argument parser.
#[derive(Debug, Parser)]
pub struct FolderNameArg {