cmd

package
v0.0.0-...-0e33c82 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

nolint:errcheck

Index

Constants

View Source
const UsageTemplate = `` /* 1382-byte string literal not displayed */

Variables

View Source
var HelpTemplate = `{{with (or .Long .Short)}}{{. | trimTrailingWhitespaces}}

{{end}}{{if or .Runnable .HasSubCommands}}{{.UsageString}}{{end}}` + titleStyle.Sprintf("GitHub:") + color.New(color.FgYellow).Sprintln(
	"		https://github.com/Hanaasagi/magonote",
)

Functions

func ColorHelpFunc

func ColorHelpFunc(c *cobra.Command, _ []string)

func ColorUsageFunc

func ColorUsageFunc(w io.Writer, cmd *cobra.Command) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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