cmd

package
v0.4.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package cmd provides commands to manage plenti sites.

Index

Constants

This section is empty.

Variables

View Source
var BenchmarkFlag bool

BenchmarkFlag provides users with build speed statistics to help identify bottlenecks.

View Source
var BuildFlag bool

BuildFlag can be set to false to skip building the site when starting local server

View Source
var CommitFlag string

CommitFlag targets a specific commit hash when running the "git clone" operation.

View Source
var EjectAll bool

EjectAll is a flag that allows users to eject all the core files to their local project.

View Source
var EndpointFlag bool

EndpointFlag disables the route for a content source by omitting the corresponding svelte template.

View Source
var OutputDirFlag string

OutputDirFlag allows users to override name of default build directory (public)

View Source
var PortFlag int

PortFlag allows users to override default port (3000) for local server

View Source
var SSLFlag bool

SSLFlag can be set to true to serve localhost over HTTPS with SSL/TLS encryption

View Source
var SingleTypeFlag bool

SingleTypeFlag create a one time file at the top level of content.

View Source
var VerboseFlag bool

VerboseFlag provides users with additional logging information.

View Source
var Version = "undefined"

Version gets replaced by git tag referenced in -ldflags on build.

Functions

func Build

func Build() error

Build creates the compiled app that gets deployed.

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL