diff options
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,6 @@ use std::fmt::Debug; +use anyhow::Result; use clap::Parser; use trust_dns_proto::rr::Name; @@ -38,10 +39,8 @@ pub struct Args { apply: bool, } -pub type Result = crate::result::Result<()>; - impl Args { - pub async fn run(self) -> Result { + pub async fn run(self) -> Result<()> { let args = Args::parse(); let name = args.autoscaling_group; |
