qbonnard / linguist

Translator that receives a known json and return a script considering the destiny platform (Linux, Windows or Mac).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

linguist

linguist (\ˈliŋ-gwist\): a person skilled in foreign languages.

The main purpose is to create a kind of translator that receives a known json and return a script considering the destiny platform (Linux, Windows or Mac).

The idea is to help managing some setup scripts to development machines, exposing an API that can be used on front-end applications to build a better UX to the final user.

Example

Input

{
  "OS": "LINUX",
  "packages": ["git"]
}

Linux Output

#!/bin/bash
sudo apt-get install -y git

The linguist support only apt-get on Linux and chocolatey on Windows plataform it's mandatory to install it (the script handle that).

Dependencies

About

Translator that receives a known json and return a script considering the destiny platform (Linux, Windows or Mac).

License:GNU General Public License v2.0


Languages

Language:C# 94.0%Language:Dockerfile 6.0%