CLI utility for Comely Apps

1.0.24 2019-12-23 00:22 UTC

This package is auto-updated.

Last update: 2021-02-23 03:00:46 UTC


CLI component for Comely Apps


  • PHP >= 7.1


composer require comely-io/cli


  • Script files in bin directory MUST BE named like snake_case
  • Script filenames MUST have .php extension
  • Script classes MUST BE named in snake_case
  • Script classes MUST extend Comely\CLI\Abstract_CLI_Script class


  • Install via composer (composer require comely-io/cli)
  • Copy contents of dist directory into your project
  • Make console file executable (chmod +x console)
  • If needed, edit console file and set correct path to __bin.php on line # 3
  • If needed, edit __bin.php file and set correct path to composer autoload file