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
+13
View File
@@ -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");