1.1.1 • Published 1 year ago

fly-watch-cli v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

fly-watch-cli

npm GitHub license

A tool that listens to a file or directory to perform some operations

Table of Contents

Installation

npm install -g fly-watch-cli

Usage(interactive command)

fly init // 初始化信息
fly serve // 监听目标文件|目录
fly upgrade // 升级目标项目版本
fly version // fly工具版本
fly help // 使用手册

Configuration Options

fly --serve(fly -s)

参数名参数值说明输入类型默认值默认值说明是否可缺省
watchTypedir/file监听类型string--
name-文件(目录)名string--
scriptsnpm run start命令行信息stringdefaultnpm run start
isKillfalse是否杀掉进程booleanfalse-
port-杀掉进行的端口号string--

eg:

fly --serve watchType=dir name=build scripts='npm run dev' isKill=true port=9008

fly --upgrade(fly -u)

参数名参数值说明输入类型默认值默认值说明是否可缺省
versionTypemajor/minor/patch/custom版本类型string--
versionNo-版本号string--
isCommitfalse是否commitbooleanfalse-
commitTxt-提交信息stringdefaultupgrade version %s
isTagfalse是否打tagbooleanfalse-
isPushfalse是否push到远程仓库booleanfalse-

eg:

fly --upgrade versionType=custom versionNo=1.0.0 isCommit=true commitTxt='upgrade version 1.0.0' isTag=true isPush=true

Issues

If you encounter some problems during use, please click here Issue Report

License

MIT

Copyright (c) 2022-present flyfox

1.1.1

1 year ago

1.0.2

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.8

2 years ago

0.1.9

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.5

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago