package help
import "codeberg.org/anaseto/goal/help"
Package help exports a function with default help for the core Goal language.
Index ¶
Functions ¶
func HelpFunc ¶
HelpFunc returns a mapping from topics to help content for use in cmd.Config. It can be wrapped by extensions to provide additional entries or return alternative content for existing ones.
It includes entries for the core language and the default os package extension.
func Wrap ¶
Wrap produces a help function suitable for use in cmd.Config by combining one or more help functions. For a given topic, the new combined help function tries each help function in order and returns the first non-empty result.
Source Files ¶
get.go help.go
- Version
- v1.1.0 (latest)
- Published
- Feb 17, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 hour ago –
Tools for package owners.