๐Ÿ“ฆ magbeat / base-install

๐Ÿ“„ doc.go ยท 19 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19/*
BaseInstall helps to reinstall all packages on a new system.

BaseInstall expects an `install` directory in the following form:

    install/
        - config/
        - files/ (optional)
        - tmp/ (optional)

If BaseInstall is executed without arguments it assumes the location of the `install` directory to be in $HOME

BaseInstall parses all `*.json` files in the `config` directory

There are several plugins for different package managers (like `dnf`, `npm`, `snap` and `flatpak`) and a plugin for a `custom` installation.
The `custom` installation allows the user to execute multiple commands (like `git clone` and `make`, `make install`) to install a package.
*/
package main