bombkiml/beech-cli

Beech command line interface. (CLI)

2.0.5 2021-09-02 07:37 UTC

README

beech-api release PyPI license

(by bömbkiml)

N|Solid

# Support By

PHP Beech framework (LTS)

# Environment Requirements

PHP >= ^7.1

# Installation

The Beech command line interface (CLI) use Composer to manage it's dependencies. So, before using Beech (CLI), make sure you have Composer installed on your machine.

  • Install with PHP Beech

    $ composer require bombkiml/beech-cli

  • Install without PHP beech (for developer only using the entry)

    $ composer create-project bombkiml/beech-cli hello-world

    • How ot using the entry

      It's very very easy for usage, You may use the beech-cli by 2 way like this:

      • First choice: point the beech-cli in .\vendor

        $ php .\vendor\bombkiml\beech-cli\beech [command] [options] [arguments]

      • Second choice: beautiful usage beech-cli by go to .\vendor\bombkiml\beech-cli then copy beech file to the root folder of your project.

        $ php beech [commnad] [options] [arguments]

❔ Tips : With PHP Becch framework you can using beech right now!

# Beech help

 Beech command line interface (CLI)

 Usage:
  $ php beech [command] [options] [arguments]

 Options:
  -?|-h, --help                                      Display this help message
  -v, --version                                      Display this application version
  -l, --list                                         Display all file in `entry` directory

 PHP development server
  $ php beech serve                                  PHP local development server 
                                                     start port 8000 custom by -p, --port

 The following commands are available for entry class:

 Initialize for usage `entry`
  $ php beech init                                   Initialize for usage the `entry`
  
 Call entry class
  $ php beech {class}/{method}                       To Call class and method.
  $ php beech {class}/{method}/{1}/{2}/{...}         To Using parameter(s) in the method.
  
 Beech make (entry)
  $ php beech make:entry {Foobar}                    Create a new entry class

 The following commands are available for PHP Beech framework (LTS):

 Beech make (PHP Beech framework supported)
  $ php beech make:controller {FoobarController}     Create a new controller class
  $ php beech make:model {Foobar}                    Create a new model class
  $ php beech make:view {foobar.view}                Create a new view file default blank view
                                                       - with HTML basic tag add arguments --html
                                                       - with HTML blog tag add arguments --blog

  * Tips: You may use the make with arguments -a, --all for generater all modules

# Development

Want to contribute or join for Great Job!, You can contact to me via

# License

The Beech command line interface (CLI) is open-sourced software licensed under the MIT license.