feiyu

1.0.1 • Public • Published

feiyu

feiyu 飞羽是一款使用NodeJS开发的命令行程序。作用:输出随机的英文词汇,分类有动物,植物,动漫。

安装

从npm安装

npm install -g feiyu

从源码安装

git clone https://github.com/wdpm/feiyu.git
cd feiyu
sudo npm install . -g

使用

feiyu --help

Usage: feiyu [options]

Options:
  -V, --version       output the version number
  -i, --index <n>     specify index, default is random (default: -1)
  -t, --type <value>  [animal|plant|anime] (default: "anime")
  -h, --help          output usage information
        https://github.com/wdpm/feiyu.git

参数

  • -i: 指定索引,默认为随机,合法索引范围:[0, 某分类对应的数组长度-1],其他不合法索引范围视为随机。
  • -t: 分类类型,默认为动画,可选 [animal|plant|anime] ,分别为动物、植物、动画。

致谢

Readme

Keywords

Package Sidebar

Install

npm i feiyu

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

8.67 kB

Total Files

7

Last publish

Collaborators

  • wdpm