Documentation
¶
Overview ¶
Package example provides the Bonzai command branch of the same name.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &Z.Cmd{ Name: `slug`, Summary: `gosimple/slug generator`, Version: `v0.1.0`, Copyright: `Copyright 2021 Robert S Muhlestein`, License: `Apache-2.0`, Site: `rwxrob.tv`, Source: `git@github.com:rwxrob/slug.git`, Issues: `github.com/rwxrob/slug/issues`, Commands: []*Z.Cmd{help.Cmd}, Description: ` The {{cmd .Name}} command converts the first line of standard input to a gosimple/slug. But if an argument is provided will use that instead. If multiple arguments are passed, assume they should be combined (as with UNIX $*). `, Other: []Z.Section{ {`Dependencies`, ` This {{cmd .Name}} command lightly wraps the github.com/gosimple/slug module and therefore carries a technical and legal dependency on it. See it for its own licensing considerations and usage before deciding to use this command. `, }, }, Call: func(_ *Z.Cmd, args ...string) error { str := Z.ArgsOrIn(args) term.Print(slug.Make(str)) return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.