Electron100 / butane

An ORM for Rust with a focus on simplicity and on writing Rust, not SQL
Apache License 2.0
94 stars 13 forks source link

Use clap derive #197

Closed jayvdb closed 7 months ago

jayvdb commented 7 months ago

Several times when trying to add options, especially when there were positional args, I ran into runtime conflicts between the options I specified and the attempts to get the arg/option value.

I find the derive syntax much simpler, and any errors occur at compile time instead of runtime, speeding up the development of enhancements.

Also given butane is using similar struct-centric design, IMO this is more in tune with the design of butane.