summaryrefslogtreecommitdiff
path: root/src/cli.rs
Commit message (Collapse)AuthorAge
* Unify the apply arguments into a `Transaction` record type.Owen Jacobson2024-07-30
|
* Unify dns_name and dns_ttl into a "target" type, pass that around.Owen Jacobson2024-07-25
|
* Normalize the target DNS name much earlier in the program.Owen Jacobson2024-07-25
| | | | Also clean up some naming.
* Legibility improvements to main.Owen Jacobson2024-07-24
| | | | | | The explicit panic is a conscious decision; clap doesn't have a better way to represent mutually-exclusive options, so we have to use two boolean fields, but it will actually prevent the user from passing both options and triggering that code path. Since it's one of the rare situations where design choices converge on a truly unreachable case, I thought I'd make it easier to discover when I'm wrong and it is actually reachable. The old logic treated (true, true) like (false, false).
* Retire the `result` module.Owen Jacobson2024-07-23
| | | | It didn't add much to have our own Result definition, over using `anyhow::Result` directly.
* Move CLI glue inside of the lib crate.Owen Jacobson2024-07-23
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.