Cat-bin
Getting Started
Install packages using yarn (we assume you have pre-installed npm and node.js).
-
Install
yarn global add cat-bin -
Example
cat-bin [Arguments]
Arguments
-
check-package
Check npm package with
npm-check
.-
silent
,-s
: Print the information or not. -
ignore
,-i
: Use to ignore dependencies that match specified glob. -
Example:
cat-bin check-package -i bundler-loader?*
-
-
check-branch
Check if branch is merged. Owing to
rebase
,git branch --merged
is not always work. As a result, use this command to check merged branch.-
silent
,-s
: Print the information or not. -
token
,-t
: Add personal access token. -
Example:
cat-bin check-branch -t <token>
-
-
check-npm
Show the structure of the folders with
.npmignore
.-
silent
,-s
: Print the information or not. -
Example:
cat-bin npmignore
-
-
server
Open a server to get the files from
cat-bin client
.-
silent
,-s
: Print the information or not. -
port
,-p
: Use to set the port for theserver
. -
folder
,-f
: Renameproject
tofolder
. -
Example:
cat-bin server
-
-
client
Watch the files and post the files from
cat-bin server
.-
silent
,-s
: Print the information or not. -
host
,-h
: Use to set the host of theserver
. -
port
,-p
: Use to set the port of theserver
. -
ignore
,-i
: Use to ignore files that match specified glob. -
Example:
cat-bin client
-
-
upload
Send a file or a folder to
cat-bin server
.-
silent
,-s
: Print the information or not. -
file
,-f
: Use to choose file. -
host
,-h
: Use to set the host of theserver
. -
port
,-p
: Use to set the port of theserver
. -
Example:
cat-bin upload
-
-
showIP
Show local ip.
-
silent
,-s
: Print the information or not. -
Example:
cat-bin showIP
-
License
MIT © HsuTing