Skip to content
This repository was archived by the owner on Aug 19, 2023. It is now read-only.
This repository was archived by the owner on Aug 19, 2023. It is now read-only.

Add terminal screenshot of creating a basic package to Readme.md #14

@janmartenjongerius

Description

@janmartenjongerius

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!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions