course-builder

1.0.5 • Public • Published

course-builder

npm

!! WARNING !!

THIS'S A PRIVATE COMMAND LINE TOOL FOR YANGCONG345.COM, PLEASE DON'T DOWNLOAD IT. WELCOME JOIN US TO USE IT .

Installation

$ [sudo] npm install -g course-builder

CLI Useage

➜  ~  course-builder

  Usage: course-builder [option] [command]

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -i, --import <file>  import json file
    l, list [id]         list
    mv, move [id] [id]   move
    delete [id]          delete

Example

➜  Desktop  course-builder -i course.json list
538fe05c76cb8a0068b14031 三角形
539fb9834353b42976e62d72 全等三角形
53c5dc760dfa1851145f8847 有理数
53e037116a3401fd615bd75c 整式的加减
53f56f2f6dc0068a6f107f98 整式的乘法与因式分解
5409b508c34d6dc35117f23e 分式
cat ~/Desktop/youlishu.txt | while read a b; do ./course-builder.js -i ~/Desktop/course.json mv $a $b; done

Contributing

  • Fork this repo
  • Clone your repo
  • Install dependencies
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Open a pull request, and enjoy <3

MIT license

Copyright (c) 2014 lsong

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


docor built upon love by docor v0.1.3

Readme

Keywords

none

Package Sidebar

Install

npm i course-builder

Weekly Downloads

6

Version

1.0.5

License

MIT

Last publish

Collaborators

  • song940