
npm install 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 .
$ [sudo] npm install -g course-builder
``
$3
`
➜ ~ course-builder Usage: course-builder [option] [command]
Options:
-h, --help output usage information
-V, --version output the version number
-i, --import import json file
l, list [id] list
mv, move [id] [id] move
delete [id] delete
`
$3
`
➜ 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
``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.