- Notifications
You must be signed in to change notification settings - Fork0
Anizoptera CMF component with basic functionality and helper methods for CLI and Daemon applications (forks, libevent, etc..).
License
Anizoptera/AzaCliBase
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Anizoptera CMF component with basic functionality and helper methods for CLI and Daemon applications (forks, libevent, etc..).
https://github.com/Anizoptera/AzaCliBase
Provides convenient API for commonly needed tasks in CLI or Daemon applications.
Some features:
- Detaching process from the controlling terminal;
- Fork wrapper (with libevent base reinitializing if needed);
- Signals and exit codes reference;
- Signals hadling and simple waiting (with pcntl);
- Get current tty width in columns;
- Get running command by PID;
- Kill process tree;
- Change process title;
- ... other;
- proctitle extension to change process title;
- aza/libevent andlibevent extension to store one main event base for application;
The recommended way to install AzaCliBase isthrough composer.You can seepackage information on Packagist.
{"require": {"aza/clibase":"~1.0"}}
AzaCliBase is a part ofAnizoptera CMF, written byAmal Samally (amal.samally at gmail.com) andAzaGroup team.
Released under theMIT license.
- Composer package
- Last build on the Travis CI
- Project profile on the Ohloh
- Other Anizoptera CMF components on theGitHub /Packagist
- (RU)AzaGroup team blog
About
Anizoptera CMF component with basic functionality and helper methods for CLI and Daemon applications (forks, libevent, etc..).