cloudflare / cloudflare-rs

Rust library for the Cloudflare v4 API
251 stars 74 forks source link

Don't unwrap email until it's needed, improve clap constraints #209

Closed jeff-hiner closed 1 year ago

jeff-hiner commented 1 year ago

I inadvertently introduced a bug when migrating to clap >= 4 that broke auth-token in CLI. This fix should also improve the parsing slightly, preventing the parsing from succeeding and showing CLI help if no auth is present.