language

package
v0.0.0-...-ff01a36 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CodeName      = "code"
	CodeShortName = "c"
	CodeUsage     = "Enter the code of the language for further use in the api that you are looking for"
	CodeDefault   = utils.Empty

	TitleName      = "name"
	TitleShortName = "n"
	TitleUsage     = "Enter the language name that you are looking for"
	TitleDefault   = utils.Empty

	SupportedName      = "supported"
	SupportedShortName = "s"
	SupportedUsage     = "Do you wanna display supported or unspported languages by lingq? By default is supported"
	SupportedDefault   = true

	IDName      = "id"
	IDShortName = "i"
	IDUsage     = "If you want to discover more information about a lingq language id, use this option"
	IDDefault   = 0

	KnownWordsName      = "known-words"
	KnownWordsShortName = "w"
	KnownWordsUsage     = "When you want to filter by >= amount of known words"
	KnownWordsDefault   = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LanguageRequest

type LanguageRequest struct {
	Code       string
	Title      string
	Supported  bool
	ID         uint
	KnownWords uint
}

func (*LanguageRequest) Args

func (l *LanguageRequest) Args(cmd *cobra.Command)

func (LanguageRequest) ToCommand

func (l LanguageRequest) ToCommand() any

Jump to

Keyboard shortcuts

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