Azure / iot-identity-service

Source of the Azure IoT Identity Service and related services.
MIT License
37 stars 46 forks source link

Switch from structopt to clap 4 #464

Closed onalante-msft closed 1 year ago

onalante-msft commented 1 year ago

structopt depends on ansi_term, which is now being flagged as unmaintained.

onalante-msft commented 1 year ago

Marked as draft until behavioral testing is done.

onalante-msft commented 1 year ago

Behavioral testing revealed a regression with set-log-level incorrectly claiming "off" was an accepted log level. This is resolved by https://github.com/Azure/iot-identity-service/pull/464/commits/91dc6bc325a74790714da169e49e30f41c09c361. Otherwise, the command seems to function identically in side-by-side tests on Ubuntu 20.04 VMs.