Klask
Automatically create GUI applications from clap3 apps
Install / Use
/learn @MichalGniadek/KlaskREADME
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:

Generated from miniserve's app:

How it works
- The binary runs and there's no
CHILD_APP_ENV_VARenvironment variable ⇾ no user code runs, only the GUI is displayed. - The "Run" button in the GUI is pressed ⇾
CHILD_APP_ENV_VARis set, the binary is started again. Arguments are passed tostdinandstdoutis intercepted for displaying output. - The binary is run with
CHILD_APP_ENV_VAR⇾ the user-provided closure is run.
Related Skills
himalaya
348.0kCLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
node-connect
348.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
taskflow
348.0kname: taskflow description: Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layer
frontend-design
108.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
