commands

package
v0.0.0-...-8667993 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: MIT, MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Copyright = "Copyright © 2018 Tyler Spivey <tspivey@pcdesk.net> and Niko Carpenter <nikoacarpenter@gmail.com>"

Copyright is the copyright including authors of Books.

View Source
var Version = "unset"

Version is the version of Books.

Functions

func CPUProfile

func CPUProfile(f func(cmd *cobra.Command, args []string)) func(cmd *cobra.Command, args []string)

CPUProfile wraps a cobra command for CPU profiling.

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.

Jump to

Keyboard shortcuts

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