Valet

Valet is a zero dependency framework that helps you build fast, robust, testable and interactive bash scripts.

logo logo

Build professional CLI tools

Valet gives you the framework and functions required to build awesome tools, effortlessly, in bash. Get everything you expect from a good CLI software (e.g. git, docker…) in a few lines of bash code.

Turn your scripts into commands

Valet enables you to easily create commands that can take arguments and/or options automatically parsed by the framework. Exceptions are gracefully handled with the error stack printed to the user.

Interactively execute your commands

Find all your commands in a convenient menu with fuzzy finding capabilities. Get prompted for missing arguments or options to make your commands easy to use.

Libraries of pure bash functions

Make your scripts more performant and write code faster by using Valet libraries for string manipulation, interactive prompt, pure bash I/O and more…

Test your commands

Ever wondered how you can effectively setup unit tests for your scripts? Valet standardizes the way you test functions and commands with approval tests approach. Run them all in a single command and automate tests in CI pipelines.

Clear and standardized help

Declare properties for your commands which are used to automatically display a user friendly documentation.

Made for CI/CD automation

Valet only requires bash, has advanced logging capabilities and can be entirely configured through environment variables, which makes it a great candidate as a core framework to build your CI/CD jobs.

Pure bash, zero dependencies

Simply run the install script which copies Valet and you are good to go, you will only ever need bash!

Lighting fast on any platform

Valet does not use forking which makes it super fast, even on windows Git bash.