Skip to content

Migration plan for v2 -> v3 #1775

Answered by pksunkara
hansl asked this question in Q&A
Apr 1, 2020 · 2 comments · 11 replies
Discussion options

You must be logged in to vote

That is a good idea. Currently proc_macro style examples live at https://github.com/clap-rs/clap/tree/master/clap_derive/examples. Each struct/enum will become a clap::App. You can also use cargo-expand cli to test how the program expands to. Hope that would guide you to create a minimal example.

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by pksunkara
Comment options

You must be logged in to vote
11 replies
@pickfire
Comment options

@pksunkara
Comment options

@pickfire
Comment options

@pksunkara
Comment options

@CreepySkeleton
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants