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

#864 in GUI

Download history 178/week @ 2025-02-05 142/week @ 2025-02-12 106/week @ 2025-02-19 55/week @ 2025-02-26 59/week @ 2025-03-05 109/week @ 2025-03-12 131/week @ 2025-03-19 121/week @ 2025-03-26 126/week @ 2025-04-02 115/week @ 2025-04-09 39/week @ 2025-04-16 63/week @ 2025-04-23 73/week @ 2025-04-30 62/week @ 2025-05-07 38/week @ 2025-05-14 24/week @ 2025-05-21

212 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

~6–19MB
~288K SLoC