The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

minima -- Manage web applications using Minima.

SYNOPSIS

minima [command] [-hv] [args..]

minima new [options] [name]

DESCRIPTION

The minima script provides a command-line interface to manage projects built with the Minima web framework.

GLOBAL OPTIONS

-h, --help

Show the manual page.

-v, --version

Show version information.

COMMANDS

new name [options]

Create a new project using the standard Minima template.

If name is provided, a new directory with the given name will be created. If no name is provided, the project will be created in the current directory. The specified directory must be empty.

Options

All options can be inverted by using the no- prefix.

--static, -s (default: true)

Enables the middleware to serve static files from the static/ directory during development.

--verbose (default: false)

Outputs directories and files as they are created.

run [options]

Runs the current app.psgi by automatically detecting the next available port after 5000 and forwarding the command to plackup. Equivalent to:

plackup --reload --port <port> --access-log /dev/null app.psgi

Any options passed to run are forwarded directly to plackup.

SEE ALSO

Minima -- The web framework used by minima.

AUTHOR

Cesar Tessarin, <cesar@tessarin.com.br>.

Written in September 2024.