| Crates.io | guibuilder |
| lib.rs | guibuilder |
| version | 0.1.1 |
| created_at | 2023-01-28 20:09:39.942173+00 |
| updated_at | 2023-01-28 20:15:49.213949+00 |
| description | A program that builds a GUI using JSON passed through stdin |
| homepage | https://git.stuerz.xyz/guibuilder/ |
| repository | https://git.stuerz.xyz/guibuilder/ |
| max_upload_size | |
| id | 770560 |
| size | 136,713 |
cargo install guibuilder
Make sure ~/.cargo/bin is in your $PATH.
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.
| Action | Arguments | Explaination |
|---|---|---|
| Update | Window (inline) | Update the contents of the window. |
| Clear | name | Clear a variable. |
| ClearAll | Clear all variables. |
tr -d '\n' <example.json | cargo run