alanwei43 / node-scaffold-scripts

Node Scaffold Scripts - Node脚手架脚本

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScriptBoilerplates

JavaScript App Boilerplates

JavaScript 脚手架脚本

Node ShellJS App

# download script to local
curl https://raw.githubusercontent.com/Allen-Wei/JavaScriptBoilerplates/master/dist/release/shelljs.js -o shelljs.js
# show help
node ./shelljs.js
# create shelljs app to directory hello-world on current location
node ./shelljs.js --project-name helloworld --directory hello-world

Create Gist Script

# download script to local
curl https://raw.githubusercontent.com/Allen-Wei/node-scaffold-scripts/master/dist/release/gist-create.js -o shelljs.js
# show help
node ./gist-create.js
# create private gist, contains two files
node ./gist-create.js --token your_token_value --description "test text" --files $(pwd)/README.md,/dir/file/path 
# create public gist, all .js file in /some-dir
node ./gist-create.js --token your_token_value --public --directory /some-dir --recurisive --name-match "\.js$"

About

Node Scaffold Scripts - Node脚手架脚本


Languages

Language:TypeScript 90.2%Language:JavaScript 8.8%Language:Shell 1.0%