Giter VIP home page Giter VIP logo

easy-config's Introduction

Easy Config

A glorified multi-thread shell executor.

About

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

Installation

Github Release

  1. Download the latest release;
  2. Run sudo chmod +x easy-config to make it an executable;
  3. Run the binary like: ./easy-config your_config.toml.

From Source

The project is quite small and fast to compile. It should take less than a minute to have everything ready to go:

  1. Clone the repo;
  2. Run cargo run -- your_config.toml

Configuration

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.

Usage

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

easy-config's People

Contributors

brenoprata10 avatar

Stargazers

Rafael Bodill avatar  avatar  avatar adam kaminski avatar Rj avatar Shobhit Aggarawal avatar Stefano Marton avatar Ren Hiyama avatar Konstantin Kushnir avatar Bob of DevOps avatar  avatar  avatar ENCRYPTED avatar Hakan Gedek avatar  avatar

Watchers

 avatar

Forkers

ausecwa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.