NAME

Trickster::CLI - Command-line interface for Trickster framework

SYNOPSIS

use Trickster::CLI;

Trickster::CLI->run(@ARGV);

DESCRIPTION

Trickster::CLI provides command-line tools for creating and managing Trickster web applications.

COMMANDS

new <name>

Creates a new Trickster application with the following structure:

myapp/
├── app.psgi
├── cpanfile
├── lib/
│   └── MyApp/
│       ├── Controller/
│       └── Model/
├── templates/
│   └── layouts/
├── public/
│   ├── css/
│   └── js/
└── t/

generate <type> <name>

Generates a new component:

  • controller - Creates a new controller class

  • model - Creates a new model class

  • template - Creates a new template file

server [options]

Starts the development server.

Options:

  • --port, -p - Port number (default: 5678)

  • --host, -h - Host address (default: 0.0.0.0)

  • --reload, -r - Auto-reload on file changes

routes

Displays all registered routes in the application.

version

Shows the Trickster version.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 688:

Non-ASCII character seen before =encoding in '├──'. Assuming UTF-8