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

Allow sketch text fields to be ui/cli params #10

Open
kneitinger opened this issue Oct 24, 2021 · 0 comments
Open

Allow sketch text fields to be ui/cli params #10

kneitinger opened this issue Oct 24, 2021 · 0 comments
Labels
enhancement New feature or request internals

Comments

@kneitinger
Copy link
Owner

The #[sketch] attribute macro in sketch_derive will currently autogenerate clap/custom code for setting integral, floating point and boolean values. A lot of my recent work uses text, and having that be a cli option or UI setting would be great.

The general infrastructure for this is already in place; the main hurdle is just handling lifetimes/ownership with aggregate datatypes.

For cli settings, quotations handle any whitespace/newlines. For UI, this setting should likely be a multiline text box.

@kneitinger kneitinger added enhancement New feature or request internals labels Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request internals
Projects
None yet
Development

No branches or pull requests

1 participant