Valet is a zero dependency framework that helps you build fast, robust, testable and interactive bash scripts.
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.
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.
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.
Make your scripts more performant and write code faster by using Valet libraries for string manipulation, interactive prompt, pure bash I/O and more…
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.
Declare properties for your commands which are used to automatically display a user friendly documentation.
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.
Simply run the install script which copies Valet and you are good to go, you will only ever need bash!
Valet does not use forking which makes it super fast, even on windows Git bash.