cmd

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   os.Args[0],
	Short: "fakelish",
	Long:  "English-like word generator",
	Run: func(cmd *cobra.Command, args []string) {

		for i := 0; nWords < 0 || i < nWords; i++ {

			fakeWord := fakelish.GenerateFakeWord(minLength, maxLength)
			if enableCapitalize {

				fakeWord = strings.Title(fakeWord)
			}

			fmt.Println(fakeWord)
		}
	},
}

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