PHP code example of kilahm / clio
1. Go to this page and download the library: Download kilahm/clio 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/ */
kilahm / clio example snippets
// Default input and output; same as not passing any input/output handlers to clio constructor
$input = new HackPack\Clio\StreamReader(STDIN);
$output = new HackPack\Clio\StreamWriter(STDOUT);
$clio = new HackPack\Clio\Clio($input, $output);
// task.php
$clio = new HackPack\Clio\Clio();
$name = $clio->param('name')
->described('Description of the "name" argument.')
->