UNPKG

jianying

Version:

A CLI Tools for parse JianyingPro Projects.

123 lines (84 loc) 2.69 kB
# jianying [![License][license-img]][license-url] [![NPM Downloads][downloads-img]][downloads-url] [![NPM Version][version-img]][version-url] [![Dependency Status][dependency-img]][dependency-url] [![devDependency Status][devdependency-img]][devdependency-url] [![Code Style][style-img]][style-url] > A CLI Tools for parse JianyingPro Projects. ## Installation ```shell $ npm install jianying # or yarn $ yarn add jianying ``` ## Usage <!-- TODO: Introduction of Usage --> ```javascript const jianying = require('jianying') const result = jianying('w') // result => 'w@zce.me' ``` ## API <!-- TODO: Introduction of API --> ### jianying(input, options?) #### input - Type: `string` - Details: name string #### options ##### host - Type: `string` - Details: host string - Default: `'zce.me'` ## CLI Usage <!-- TODO: Introduction of CLI --> Use npx: ```shell $ npx jianying <input> [options] ``` Globally install: ```shell $ npm install jianying -g # or yarn $ yarn global add jianying ``` ```shell $ jianying --help jianying/0.1.0 Usage: $ jianying <input> Commands: <input> Sample cli program For more info, run any command with the `--help` flag: $ jianying --help Options: --host <host> Sample options -h, --help Display this message -v, --version Display version number Examples: $ jianying w --host zce.me ``` ## Related - [zce/caz](https://github.com/zce/caz) - A simple yet powerful template-based Scaffolding tools. ## Contributing 1. **Fork** it on GitHub! 2. **Clone** the fork to your own machine. 3. **Checkout** your feature branch: `git checkout -b my-awesome-feature` 4. **Commit** your changes to your own branch: `git commit -am 'Add some feature'` 5. **Push** your work back up to your fork: `git push -u origin my-awesome-feature` 6. Submit a **Pull Request** so that we can review your changes. > **NOTE**: Be sure to merge the latest from "upstream" before making a pull request! ## License [MIT](LICENSE) &copy; [zce](https://zce.me) [license-img]: https://img.shields.io/github/license/zce/jianying [license-url]: https://github.com/zce/jianying/blob/master/LICENSE [downloads-img]: https://img.shields.io/npm/dm/jianying [downloads-url]: https://npm.im/jianying [version-img]: https://img.shields.io/npm/v/jianying [version-url]: https://npm.im/jianying [dependency-img]: https://img.shields.io/david/zce/jianying [dependency-url]: https://david-dm.org/zce/jianying [devdependency-img]: https://img.shields.io/david/dev/zce/jianying [devdependency-url]: https://david-dm.org/zce/jianying?type=dev [style-img]: https://img.shields.io/badge/code_style-standard-brightgreen [style-url]: https://standardjs.com