1 个不稳定版本
使用旧的 Rust 2015
0.2.0 | 2018年3月30日 |
---|
#22 in #mastodon
6KB
68 行
emojofy
轻松将您的文本变得更有吸引力或更好 🅱️ etter
安装
cargo安装 emojofy
使用
emojofy 0.2.0
USAGE:
emojofy [OPTIONS] <words>...
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-a, --after <after> The string to put after each character, with an underscore in between it and the
character
-b, --before <before> The string to put before each character, with an underscore in between it and the
character
-p, --prefix <prefix> The string to literally put before each character
-s, --suffix <suffix> The string to literally put after each character
-w, --word-separator <word_sep> The string to separate each word with [default:
]
ARGS:
<words>...
EXAMPLES:
$ emojofy -w ' ' aesthetic words
a e s t h e t i c w o r d s
$ emojofy -b hacker hackerman
:hacker_h: :hacker_a: :hacker_c: :hacker_k: :hacker_e: :hacker_r: :hacker_m: :hacker_a: :hacker_n:
$ emojofy -s wide squernch
:swide: :qwide: :uwide: :ewide: :rwide: :nwide: :cwide: :hwide:
TODO
- 添加一些排除特定单词或字符的方法,以便与
tr
和printf
一起使用管道,以便混合样式。 - 添加一些此类管道的示例
- 如果输出到终端,则智能地添加换行符(尽管这可能应该由 shell 处理)
- awoo
依赖关系
~750KB