Commands
CopperSmith exposes various console commands to help you easily scaffold and build you site.
Each command is called in the following way:
copper [cmd]
where [cmd] is a command / function to execute.
Each command might present a list of questions to simplify the process.
init
Initializes your CopperSmith project. This is the first command that should be called.
Example:
copper init
page
Used to create new pages.
Example:
copper page
snip
Used to create HTML snippet files.
Example:
copper snip
theme
Quickly scaffold a custom theme directory.
copper theme
build
Generates your static website in your chosen build folder.
copper build
publish
Publishes / uploads your generated website to your chosen platform.
Currently, only plain FTP is supported
Example:
copper publish