Barebone cmdline uitility

Barebone is also equiped with a cmdline uitility to create new application, controllers, action and layouts

You can find this tool in the root directory of your Barebone installation

You could start the uitility from the cmdline.

$ php bb-cli.php -h
            
Barebone Framework Console CLI

Usage:
  bb-cli.php  [args]

Commands:
  create framework                                          Create the directory structure
  create application <appname>                              Create a new application
  create controller <appname> <controller>                  Create a controller inside an application
  create method <appname> <controller> <name> [<type>]      Create a new method in a controller
  create layout <name>                                      Create a new layout
  create database-models                                    Create database models from schema/db
  layout add asset <lib> [<version>] [<layout>]             Download and add assets (CSS, JS, fonts) from cdnjs
  layout remove asset <lib> [<layout>]                      Remove downloaded assets of a library from a layout
  start server                                              Start PHP development server
  clean [-y]                                                Clean all files/folders (-y skips confirmation)
  config [key1] [key2] ... [value]                          Get or set configuration values in application.json
  help (or -h, --help)                                      Show help info