command

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAllCommands

func AddAllCommands(rootCmd *cobra.Command)

func AddExtCommand

func AddExtCommand(rootCmd *cobra.Command)

func AddFrontmatterCommand

func AddFrontmatterCommand(rootCmd *cobra.Command)

func AddHtmlCommand

func AddHtmlCommand(rootCmd *cobra.Command)

func AddIcoCommand

func AddIcoCommand(rootCmd *cobra.Command)

func AddJpegCommand

func AddJpegCommand(rootCmd *cobra.Command)

func AddJsonCommand

func AddJsonCommand(rootCmd *cobra.Command)

func AddMimeTypeCommand

func AddMimeTypeCommand(rootCmd *cobra.Command)

func AddPngCommand

func AddPngCommand(rootCmd *cobra.Command)

func AddSvgCommand

func AddSvgCommand(rootCmd *cobra.Command)

func AddTextCommand

func AddTextCommand(rootCmd *cobra.Command)

func AddVersionCommand

func AddVersionCommand(rootCmd *cobra.Command, versionInfo VersionInfo)

func AddXmlCommand

func AddXmlCommand(rootCmd *cobra.Command)

func AddYamlCommand

func AddYamlCommand(rootCmd *cobra.Command)

func IsAscii

func IsAscii(b byte) bool

func IsAsciiBytes

func IsAsciiBytes(bytes []byte) error

func IsBadControl

func IsBadControl(b byte) bool

Types

type VersionInfo

type VersionInfo struct {
	Commit  string `json:"commit"`
	LastMod string `json:"lastmod"`
	Version string `json:"version"`
	Builder string `json:"builder"`
}

Jump to

Keyboard shortcuts

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