cmd

package
v0.0.0-...-9b532c3 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package cmd holds the commands for the makesite CLI

Package cmd holds the commands for the makesite CLI

Package cmd holds the commands for the makesite CLI

Index

Constants

This section is empty.

Variables

View Source
var Bold = "\033[1m"

Bold allows Bold terminal output

View Source
var Green = "\033[32m"

Green allows Green terminal output

View Source
var Reset = "\033[0m"

Reset allows a return to normal terminal output

Functions

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

type Post

type Post struct {
	Title    string
	Contents template.HTML
}

Post is a struct that holds information to be added into an html file

Jump to

Keyboard shortcuts

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