guibuilder

Crates.ioguibuilder
lib.rsguibuilder
version0.1.1
sourcesrc
created_at2023-01-28 20:09:39.942173
updated_at2023-01-28 20:15:49.213949
descriptionA program that builds a GUI using JSON passed through stdin
homepagehttps://git.stuerz.xyz/guibuilder/
repositoryhttps://git.stuerz.xyz/guibuilder/
max_upload_size
id770560
size136,713
Benjamin Stürz (realchonk)

documentation

README

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
Commit count: 0

cargo fmt