8 releases (1 stable)

1.0.0 Jan 3, 2022
0.4.0 Oct 28, 2021
0.3.1 Oct 25, 2021
0.2.3 Sep 26, 2021

#636 in GUI

Download history 37/week @ 2024-03-11 33/week @ 2024-03-18 23/week @ 2024-03-25 61/week @ 2024-04-01 26/week @ 2024-04-08 144/week @ 2024-04-15 38/week @ 2024-04-22 26/week @ 2024-04-29 35/week @ 2024-05-06 53/week @ 2024-05-13 103/week @ 2024-05-20 49/week @ 2024-05-27 29/week @ 2024-06-03 174/week @ 2024-06-10 31/week @ 2024-06-17 62/week @ 2024-06-24

299 downloads per month
Used in 5 crates

MIT license

155KB
1.5K SLoC

crates.io license docs.rs

Klask

Allows you to create a gui application automatically from clap (v3). Uses egui for graphics. Changelog

Features

  • Supports optional fields with and without default values
  • Supports flags with multiple occurrences (-vvv)
  • Has a native path picker
  • Supports fields with multiple values
  • Output is colored and has clickable links
  • Combo boxes for arguments with only some values allowed
  • Subcommands
  • Optionally allow setting environment variables, stdin and working directory
  • Progress bars

If you are using this library please contact me, I'm definitely interested! Create an Issue if you find any bugs or would like a feature added!

Example gui: image showcasing the gui

Generated from miniserve's app: image showcasing the gui

Dependencies

~7–19MB
~268K SLoC