translation

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cli.Command{
	Name:    "translation",
	Usage:   "translation 翻译",
	Aliases: []string{"t"},
	Flags:   Flags,
	Action:  Action,
}
View Source
var Flags = []cli.Flag{
	&cli.StringFlag{
		Name:    "content",
		Aliases: []string{"c"},
		Usage:   "translation content",
	},
	&cli.BoolFlag{
		Name:    "stdin",
		Aliases: []string{"s"},
		Usage:   "read from stdin",
	},
}

Functions

func Action

func Action(c *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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