slug

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &Z.Cmd{

	Name:        `slug`,
	Summary:     help.S(_slug),
	Description: help.D(_slug),
	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},

	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.

Jump to

Keyboard shortcuts

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