normalizers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Indentation = `  `

Variables

This section is empty.

Functions

func Examples

func Examples(s string) string

Examples normalizes a command's examples following a convention

func LongDesc

func LongDesc(s string) string

LongDesc normalizes a command's long description following a convention

func SpecToJSON added in v0.1.4

func SpecToJSON(spec interface{}) (string, error)

SpecToJSON converts a spec (YAML/JSON string or object) to normalized JSON string

Types

This section is empty.

Jump to

Keyboard shortcuts

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