Command-line tools used at Delta Systems for common development workflow needs.
Delta CLI is an open source project started to improve development workflows at Delta Systems. Before Delta CLI, each project had its own ad-hoc shell scripts, Phing configuration files, git hooks, etc. When switching between projects, developers would have to learn the particular idiosyncracies of that project's deployment scripts. Beyond that, these scripts were typically written without robust error handling, logging or notifications. Delta CLI scripts have a handful of important properties that address these issues.
- Original Intro to the Delta-CLI Project https://youtu.be/lm4iAuW4sIk
- Working with remote dev environments in Delta-CLI https://youtu.be/QlSR8enp_Cg
- Installing Delta CLI Tools using composer https://youtu.be/JTM429G2fps
- In Delta CLI 2.0 we added logging and Slack notifications https://youtu.be/Va_1Tsx5FFk
- Delta CLI v3.27.0 New Feature Update 2017-01-05 https://youtu.be/5I_fq9yEl1A
- Delta-CLI: Custom Scripts Walkthrough https://youtu.be/Nmkc_AIHe_g
After cloning the repository, install dependencies with Composer, as in the following example:
$ git clone [email protected]:DeltaSystems/delta-cli-tools.git
$ cd delta-cli-tools
$ composer install
Testing is facilitated by PHPUnit, and the test suite can be executed as in the following example that is run within the root directory of the project and enables inspection of the results with less:
$ vendor/bin/phpunit tests/ &>phpunit.out ; less phpunit.out