PHP code example of zicht / z-plugin-interact
1. Go to this page and download the library: Download zicht/z-plugin-interact library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zicht / z-plugin-interact example snippets
yml
plugins: ['interact']
tasks:
test:
- @(if confirm("Are you sure?")) echo "OK, I will..."