mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 13:17:55 +08:00
fix default command
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user