Tereta/Cli Module
Overview
Command-line module. Provides the infrastructure for running framework console commands.
Usage
./cli.php <command> [arguments] [--option=value]
If no command is specified, list is executed.
Built-in Commands
| Command | Description |
|---|---|
list | List all available commands |
help | Framework help |
cache:clear, db:schema:dump).
Examples
Running the list command displays a table of all available commands:
╔═══════════════════╦════════════════════════════════════════════════════════════════════════════════════╗
║ Command ║ Description ║
╠═══════════════════╬════════════════════════════════════════════════════════════════════════════════════╣
║ cache:clear ║ Clear all caches ║
║ cache:status ║ Show cache status ║
║ db:schema:dump ║ Dump the database schema to table files ║
║ db:schema:refresh ║ Refresh the database schema by dropping, updating and recreating tables from files ║
║ help ║ Help of use ║
║ list ║ List all available commands ║
║ markdown:page ║ Generate documentation from markdown ║
║ page:registration ║ Register static page content ║
║ route:site ║ Dump the database schema to table files ║
╚═══════════════════╩════════════════════════════════════════════════════════════════════════════════════╝
Author and License
Author: Tereta Alexander
Website: tereta.dev
License: Apache License 2.0. See LICENSE.
www.████████╗███████╗██████╗ ███████╗████████╗ █████╗
╚══██╔══╝██╔════╝██╔══██╗██╔════╝╚══██╔══╝██╔══██╗
██║ █████╗ ██████╔╝█████╗ ██║ ███████║
██║ ██╔══╝ ██╔══██╗██╔══╝ ██║ ██╔══██║
██║ ███████╗██║ ██║███████╗ ██║ ██║ ██║
╚═╝ ╚══════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝
.dev
Copyright (c) 2024-2026 Tereta Alexander