Help us shape the future of Go! Take the 2026 Go Developer Survey

subcmd

package
v0.230607.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Overview

Support sub-commands in vender application. It's simple but fine so far. Can switch to github.com/urfave/cli later.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SdNotify

func SdNotify(s string) bool

Types

type Mod

type Mod struct {
	Name string
	Main func(context.Context, *state.Config) error
}

func Parse

func Parse(command string, modules []Mod) (*Mod, error)

Jump to

Keyboard shortcuts

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