package cmd

import "git.dotya.ml/wanderer/go-xkcdreader/cmd"

Index

Variables

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.

Source Files

root.go version.go

Version
v0.0.0-20220708161946-be9764124533 (latest)
Published
Jul 8, 2022
Platform
linux/amd64
Imports
4 packages
Last checked
1 month ago

Tools for package owners.