cmd

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Root = &cobra.Command{
	Use:   appName,
	Short: "an offline-capable xkcd webcomic reader written in Go",
	RunE: func(cmd *cobra.Command, args []string) error {

		return nil
	},
}

Root is the main go-xkcdreader command

Functions

func Execute

func Execute()

Execute is the entrypoint of cobra's poison

func GetAppName

func GetAppName() string

GetAppName returns the name of the application

func GetShortVersion

func GetShortVersion() string

GetShortVersion returns a bare version string

Types

This section is empty.

Jump to

Keyboard shortcuts

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