zerustech / cli
Commonly used functions and scripts for cli programming.
dev-master / 1.0.x-dev
2020-09-10 11:47 UTC
Requires
- php: >=5.4
This package is auto-updated.
Last update: 2025-01-09 00:00:37 UTC
README
This project provides some commonly used functions and scripts for cli programming, such as scripts for running tasks interactively, starting and stopping varnish server, starting and stopping php builtin server.
New functions and scripts will be added in the future.
This project is used by the zerustech/http-cache-tutorial and zerustech/less-tutorial projects.
Directory Structure
The directory structure of this project is as follows:
<base> # project base directory
\_ bin
| \_ http # http related scripts (e.g., sending http request).
| |_ php # php related scripts (e.g., starting php builtin server).
| |_ task # task related scripts (e.g., running tasks interactively).
| |_ varnish # varnish management scripts (e.g., starting varnish server).
|
|_ lib # library scripts.
|_ var # log and pid files
References
License
This tutorial is published under the MIT License.