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

#985 in GUI

Download history 31/week @ 2024-07-20 64/week @ 2024-07-27 50/week @ 2024-08-03 75/week @ 2024-08-10 66/week @ 2024-08-17 144/week @ 2024-08-24 124/week @ 2024-08-31 100/week @ 2024-09-07 66/week @ 2024-09-14 146/week @ 2024-09-21 85/week @ 2024-09-28 95/week @ 2024-10-05 178/week @ 2024-10-12 194/week @ 2024-10-19 96/week @ 2024-10-26 106/week @ 2024-11-02

605 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
~295K SLoC