A glorified multi-thread shell executor.
This project was built with the purpose to solve "copy paste" hell while configuring a new setup or setting up a dev environment based on a list of terminal commands that need to be executed.
Easy.config.DEMO.mp4
- Download the latest release;
- Run
sudo chmod +x easy-config
to make it an executable; - Run the binary like:
./easy-config your_config.toml
.
The project is quite small and fast to compile. It should take less than a minute to have everything ready to go:
- Clone the repo;
- Run
cargo run -- your_config.toml
Easy Config expects a .toml
file with the following template:
[[library]]
name = "NAME"
install_script = "INSTALL SCRIPT"
id = "ID" # Optional
allow_async = true # Optional
group = "GROUP" # Optional
[[library]]
name = "NAME 2"
install_script = "INSTALL SCRIPT2"
id = "ID2" # Optional
allow_async = true # Optional
group = "GROUP 2" # Optional
Property | Type | Default Value | Description |
---|---|---|---|
name | String | Label that will be used while running the command | |
install_script | String | Script that will be run | |
id | String | Id that is needed if you'd like to run a single command instead of the whole config file | |
allow_async | bool | false | Single command that will be run in a separate thread |
group | String | Commands that will be run sequentially in a separate thread. Check ubuntu.toml for more information. |
Go to the location that you downloaded the binary and:
- Run all of the scripts:
./easy-config your_config.toml
- Run scripts by id:
./easy-config your_config.toml library_id1 library_id2
- Run as a pipe:
wget -O - FILE_URL | ./easy-config