Documentation ¶
Overview ¶
Package cmd provides commands to manage plenti sites.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var BenchmarkFlag bool
BenchmarkFlag provides users with build speed statistics to help identify bottlenecks.
var BuildFlag bool
BuildFlag can be set to false to skip building the site when starting local server
var CommitFlag string
CommitFlag targets a specific commit hash when running the "git clone" operation.
var EjectAll bool
EjectAll is a flag that allows users to eject all the core files to their local project.
var EndpointFlag bool
EndpointFlag disables the route for a content source by omitting the corresponding svelte template.
var OutputDirFlag string
OutputDirFlag allows users to override name of default build directory (public)
var PortFlag int
PortFlag allows users to override default port (3000) for local server
var SSLFlag bool
SSLFlag can be set to true to serve localhost over HTTPS with SSL/TLS encryption
var SingleTypeFlag bool
SingleTypeFlag create a one time file at the top level of content.
var VerboseFlag bool
VerboseFlag provides users with additional logging information.
var Version = "undefined"
Version gets replaced by git tag referenced in -ldflags on build.
Functions ¶
Types ¶
This section is empty.