Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

初期値を選べるようにする #37

Closed
ryought opened this issue Jul 11, 2021 · 1 comment
Closed

初期値を選べるようにする #37

ryought opened this issue Jul 11, 2021 · 1 comment

Comments

@ryought
Copy link
Owner

ryought commented Jul 11, 2021

  • zero
  • true
  • read
  • random

ランダムの場合は何個入れるかも選べるようにする

@ryought
Copy link
Owner Author

ryought commented Jul 11, 2021

clap v3aを使っているのが原因だった

これはv2の時
https://stackoverflow.com/questions/54687403/how-can-i-use-enums-in-structopt

v3ではマクロが消えて、deriveするようになった
https://docs.rs/clap/3.0.0-beta.2/clap/trait.ArgEnum.html
clap-rs/clap#2485

@ryought ryought closed this as completed Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant