2 releases
0.1.1 | Jan 28, 2023 |
---|---|
0.1.0 | Jan 28, 2023 |
#616 in GUI
38KB
565 lines
GUI Builder
Installation
cargo install guibuilder
Make sure ~/.cargo/bin
is in your $PATH
.
Usage
Run guibuilder and send a JSON-based action to stdin. Currently there is a limitation however: each action must be on its own line and must be exactly one line long. Events are printed to stdout. See the example.json file for an example login window.
Actions
Action | Arguments | Explaination |
---|---|---|
Update | Window (inline) | Update the contents of the window. |
Clear | name | Clear a variable. |
ClearAll | Clear all variables. |
Example
tr -d '\n' <example.json | cargo run
Dependencies
~21–36MB
~622K SLoC