util

package
v0.0.0-...-dbc463b Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const CommandName = "goat"

Variables

This section is empty.

Functions

func DisableDoubleDash

func DisableDoubleDash(ctx context.Context, cmd *cli.Command) bool
  • If the user attempts to autocomplete after "--", it will treat the "--" as
  • "end of command options", and thus treat anything following this as an argument
  • rather than a flag, including the hidden "--generate-bash-completion" that is
  • passed when using autocomplete. This feature can't be disabled. *
  • This command will not require double dash usage, so this chunk is a crappy
  • way of removing this behavior

func PanicIfErr

func PanicIfErr(e error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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