sodacli
Global install ⚙️
Envirment requirement
NodeJS: >= 8.0
OS: MacOS, windows, centos
install
$ npm install soda-bo-cli -g / yarn global add soda-bo-cli
Create a project
$ sbc init
new Page
$ sbc new <pageName> # sbc new User or sbc new User/Login
push to git
$ sbc push
Select an executable command
$ sbc run
Start a static service
$ sbc server # -p, --port set my prot # -s, --silent don't open browser # -d, --dir run dir. current as default # -l, --log print url log # -f, --fallback Enable history fallback # -h, --help output usage information
Select npm/yarn mirror
$ sbc origin ls # view all canuse mirror $ sbc origin use # choose mirror