Lang

package
v0.0.0-...-657618f Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cli.Command{
	Name:      "lang",
	Usage:     "Manage languages of the app",
	UsageText: "onesky [global options] lang <command> [options]",
	Description: "List all enabled languages of the app: \n" +
		"			onesky lang list\n",
	HideHelpCommand: true,
	Subcommands: []*cli.Command{
		SubcommandList,
	},
}
View Source
var SubcommandList = &cli.Command{
	Name:        "list",
	Aliases:     []string{"l"},
	Action:      List,
	Description: "List all enabled languages of the app",
	Usage:       "List all enabled languages of the app",
	UsageText:   "onesky lang list",
}

Functions

func List

func List(c *cli.Context) (err error)

Types

type Lang

type Lang interface {
	List(*cli.Context) error
}

Jump to

Keyboard shortcuts

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