#installer #command-line-tool #manager #tool #compression #cli

app toolinst

CLI written in Rust to handle installers and programs

1 unstable release

0.1.0 Sep 11, 2023

#55 in #installer

CC-BY-SA-4.0

16KB
227 lines

ToolInst

CLI written in Rust to handle installers and programs.

build

With ToolInst you can organize compressed files and installers into one single folder. You can manage this folder with just a few simple commands.

How to Use

Make sure that you've already installed ToolInst, installation here.

First, you have to create a config file for ToolInst. This file should be in your home directory and should be named .toolinstrc.

In this file, you have to set INSTALL with the path to the folder you want to use to organize all your files.

Something like this:

INSTALL=path

Replace path with an absolute path to the folder.

In this folder, there should be two folders for compressed files and installers. These are named .compressed and .installer respectively by default.

If you want to set different names or paths to these folders, you can use these configs:

COMPRESSED_DIR_NAME=name_or_path
INSTALLER_DIR_NAME=name_or_path

Replace name_or_path with an absolute path to the folder or a name.

It's recommended that you create these folders before using ToolInst, commands may fail if these folders don't exist.

Finally, you can run toolinst --help in your terminal to see all commands you can use. Hope it'll useful!

Installation

You can install ToolInst by downloading a release from the releases page.

You simply have to unzip the file and add the resulting folder to your path.

If you want, you can also build from source by cloning this repository and running this command in the cloned repository:

cargo build --release

This will build ToolInst in release mode. You can add it to your ~/.cargo/bin by running:

cargo install --path .

That should work. You can try running toolinst --version in your terminal, if you get output then everything should be working fine.

License

Creative Commons License
ToolInst by YisusGaming is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

More details in here.

Dependencies

~1–8MB
~66K SLoC