-
Notifications
You must be signed in to change notification settings - Fork 23
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
File chooser: creating a new file #32
Comments
Yeah I can't think of any way to specify it through clap, and I've just had a look. From clap's perspective there's no real difference between an input and output path. Short of asking/forking clap to add a It's definitely possible with |
So, probably the best course of action would be to add a setting that allows you to specify field purpose. I won't be able to work on this for a few days, but I will try to implement it later. |
Sorry for the wait. I've thought about it more, and there are two ways (both kind of hacky) to specify it in clap:
|
Is there a way to specify a file to be created and saved? Obviously
clap::ValueHint::FilePath
works great for existing files...The text was updated successfully, but these errors were encountered: