Skip to content
forked from jakzal/toolbox

Helps to discover and install tools

License

Notifications You must be signed in to change notification settings

dkarlovi/toolbox

 
 

Repository files navigation

Toolbox

Build Status Build Status

Helps to discover and install tools.

Use cases

Toolbox started its life as a simple script in the phpqa docker image. Its purpose was to install set of tools while building the docker image and it's still its main goal. It has been extracted as a separate project to make maintenance easier and open itself for new use cases.

Available tools

Installation

Get the toolbox.phar from the latest release. The command below should do the job:

curl -s https://api.github.com/repos/jakzal/toolbox/releases/latest \
  | grep "browser_download_url.*toolbox.phar" \
  | cut -d '"' -f 4 \
  | xargs curl -Ls -o toolbox \
  && chmod +x toolbox

Usage

List available tools

./toolbox list-tools

Install tools

./toolbox install

Dry run

To only see what commands would be executed, use the dry run mode:

./toolbox install --dry-run

Test if installed tools are usable

./toolbox test

Dry run

To only see what commands would be executed, use the dry run mode:

./toolbox test --dry-run

Tools definitions

By default resources/pre-installation.json and resources/tools.json are used to load tool definitions. Definitions can be loaded from customised files by passing the --tools option(s):

./toolbox list-tools --tools path/to/file1.json --tools path/to/file2.json

Tool definition location(s) can be also specified with the TOOLBOX_JSON environment variable:

TOOLBOX_JSON='path/to/file1.json,path/to/file2.json' ./toolbox list-tools

About

Helps to discover and install tools

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 97.0%
  • Makefile 3.0%