statocles - Run Statocles commands
version 0.098
statocles [-v] [--config <file>] [--include <dir>] [--lib] [--site <site>] <command> statocles -h|--help statocles -v|--version
The Statocles command-line interface. This command manages Statocles sites: building, testing, and deploying.
This command also helps to manage content in Statocles apps.
The command to run. Available commands:
create <url> - Create a new site build [--date YYYY-MM-DD] - Build the site daemon [-p <port>] [--date] - Run an HTTP daemon to test the site deploy [--clean] [--date] - Deploy the site bundle theme <name> [<file>...] - Bundle a theme apps - List the applications in this site <app> help - Get help for a specific application
The configuration file to read for Sites. Defaults to site.yml.
site.yml
The configuration file is a Beam::Wire container file.
The site to use, which is the name of an object in the config file. Defaults to site.
site
The directory to search for includes. It works by prepending the path to @INC. If specified multiple times, it prepends the directories in the same order as written on the command line.
@INC
Shortcut for --include lib.
--include lib
When running the daemon, choose which port to listen on. Defaults to 3000.
3000
When running build, deploy, and daemon, set the current date for applications. This forces, for example, the blog app to show entries in the future.
build
deploy
daemon
Date should be in YYYY-MM-DD format.
YYYY-MM-DD
When running deploy, delete the current site content before deploying. By default, old build files may be kept around after their source file is deleted. The --clean option removes all the files, so the site only contains what was built.
--clean
Display diagnostic information:
Display this help file
Display version information
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2016 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Statocles, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Statocles
CPAN shell
perl -MCPAN -e shell install Statocles
For more information on module installation, please visit the detailed CPAN module installation guide.