Documentation
¶
Index ¶
Constants ¶
View Source
const ( ZshShell = "zsh" BashShell = "bash" )
current supported shell
Variables ¶
View Source
var GenEmojiMap = &gcli.Command{ Name: "gen-emojis", Aliases: []string{"gen-emj"}, Func: gem.run, Desc: "fetch emoji codes form data source url, then generate a go file.", Config: func(c *gcli.Command) { gem.c = c c.StrOpt( &gem.source, "source", "s", "gemoji", "the emoji data source, allow: muan, gemoji, unicode", ) c.StrOpt(&gem.saveDir, "dir", "d", "./", "the generated go file save `DIR` path") c.BoolOpt(&gem.onlyGen, "onlyGen", "", false, "whether only generate go file from exists emoji data file") }, Help: `source allow: muan - https://raw.githubusercontent.com/muan/emoji/gh-pages/javascripts/emojilib/emojis.json gemoji - https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json unicode - https://unicode.org/Public/emoji/11.0/emoji-test.txt `, }
GenEmojiMap create
View Source
var GenGcliCmdCode = &gcli.Command{
Name: "gen-cmd",
Desc: "quick generate gcli command code",
}
GenGcliCmdCode command
Functions ¶
Types ¶
Directories
¶
Path | Synopsis |
---|---|
Package sflag is an simple cli flag parse tool
|
Package sflag is an simple cli flag parse tool |
Click to show internal directories.
Click to hide internal directories.