coseva
coseva copied to clipboard
Add terminal screenshot of creating a basic package to Readme.md
Perhaps adding a simplistic man document to the readme is a bit overkill for our simplistic packager. Perhaps an example of me building a basic package in the command line would be great. I suggest a screenshot of.
$ ./packager input.csv script.php
With a few line of output, like:
Load dependencies. . . [OK]
Check Phar capabilities . . . [OK]
Checking CLI arguments. . . [OK]
================================================================================
Library: /home/johmanx10/Projects/coseva/src/Coseva/CSV.php
Output: /home/johmanx10/Projects/coseva/package.phar
Alias: package.phar
Source: /home/johmanx10/Projects/coseva/input.csv [phar://package.phar/input.csv]
Script: /home/johmanx10/Projects/coseva/script.php [phar://package.phar/script.php]
================================================================================
[NOTE] You can use PHP constant SOURCE_FILE to access the CSV file.
================================================================================
Creating new executable. . . [OK]
Start buffering. . . [OK]
Adding CSV source. . . [OK]
Adding script file. . . [OK]
Adding Coseva library file. . . [OK]
Detected GZ compression. . .
Compressing CSV file. . . [OK]
Compressing Script. . . [OK]
Setting bootstrap file to script.php. . . [OK]
Setting Phar stub, to initialize Coseva. . . [OK]
Saving archive to /home/johmanx10/Projects/coseva/package.phar. . . [OK]
================================================================================
DONE!!!
Or even a brief screencast. :D
Now you're just trying to be funny. But perhaps it's not a bad idea.
On another note. I totally forgot to compress the Coseva library ><