There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

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.

--cpanfile (default: false)

Generate a cpanfile in the new project root. This file declares the basic dependencies required by the generated application, allowing you to install them with Carton or similar tools. By default, no cpanfile is created unless this option is specified.

--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               \
    --access-log /dev/null \
    --host localhost       \
    --port <port>          \
    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.