mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 05:07:55 +08:00
fix default command
This commit is contained in:
@@ -50,6 +50,19 @@ pub struct ListEnvelopesCommand {
|
||||
pub account: AccountNameFlag,
|
||||
}
|
||||
|
||||
impl Default for ListEnvelopesCommand {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
folder: Default::default(),
|
||||
page: 1,
|
||||
page_size: Default::default(),
|
||||
table: Default::default(),
|
||||
cache: Default::default(),
|
||||
account: Default::default(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl ListEnvelopesCommand {
|
||||
pub async fn execute(self, printer: &mut impl Printer, config: &TomlConfig) -> Result<()> {
|
||||
info!("executing list envelopes command");
|
||||
|
||||
Reference in New Issue
Block a user