You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2022. It is now read-only.
I often find myself checking which version of a binary I compiled, between versions, crate features and codegen options. I wrote some code below which I am using via the App::about method to provide build info for my clap-generated -h printout. (Like vim --version, but much less info).
This is ok, but unfortunately it needs to be manually maintained as new features are added, etc. It occurred to me that perhaps clap would be a good fit for this kind of functionality, and I didn't see anything in the docs about providing build info. Have you considered adding tools for tracking features, codegen options, etc.?
The text was updated successfully, but these errors were encountered:
Issue by jonathanstrong
Thursday Oct 18, 2018 at 01:12 GMT
Originally opened as clap-rs/clap#1363
Rust Version
rustc 1.31.0-nightly (bef62ccdd 2018-10-16)
Affected Version of clap
2.32.0
Bug or Feature Request Summary
I often find myself checking which version of a binary I compiled, between versions, crate features and codegen options. I wrote some code below which I am using via the
App::about
method to provide build info for my clap-generated-h
printout. (Likevim --version
, but much less info).This is ok, but unfortunately it needs to be manually maintained as new features are added, etc. It occurred to me that perhaps clap would be a good fit for this kind of functionality, and I didn't see anything in the docs about providing build info. Have you considered adding tools for tracking features, codegen options, etc.?
The text was updated successfully, but these errors were encountered: