diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-07-23 19:10:13 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-07-23 19:31:13 -0400 |
| commit | 5429d2ab901380a92535e31c8cce6646e9b11c4f (patch) | |
| tree | 760f274979c64185e6bc3710cc85030eb991cb0d /src/bin/aws-autoscaling-dns.rs | |
| parent | bd0ab7e0b9ed4584e2973f96c25799aada2b52e9 (diff) | |
Move CLI glue inside of the lib crate.
This allows me to stop exporting symbols that were only exported for the purposes of making the CLI work.
This commit makes the minimum version for the next release 0.2.0, as it retires multiple symbols that are part of the lib crate's API in v0.1.x.
Diffstat (limited to 'src/bin/aws-autoscaling-dns.rs')
| -rw-r--r-- | src/bin/aws-autoscaling-dns.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bin/aws-autoscaling-dns.rs b/src/bin/aws-autoscaling-dns.rs new file mode 100644 index 0000000..6999b6b --- /dev/null +++ b/src/bin/aws-autoscaling-dns.rs @@ -0,0 +1,9 @@ +use clap::Parser; + +use aws_autoscaling_dns::cli; + +#[tokio::main] +async fn main() -> cli::Result { + let args = cli::Args::parse(); + args.run().await +} |
