@syyfe/cli
TypeScript icon, indicating that this package has built-in type declarations

1.5.2 • Public • Published

商业云脚手架工具

安装

npm i -g @syyfe/cli

使用

商业云脚手架

Usage: syy [options] [command]

Options:
  -h, --help                 display help for command

Commands:
  create <project>           用于创建一个项目模板
  add <type>                 用于创建项目中的页面(page)、组件(component)
  rm <dir>                   快速删除文件/目录
  typng [options] [options]  tinypng压缩图片,-r 目录,-k 密钥 多个密钥使用 | 分隔,-m 最大压缩次数 默认1
  server [options] [options] 静态资源服务,-p 端口
  commit                     Git代码提交
  lt [options] [options]     内网穿透,-p 穿透端口,-subdomain 指定子域名
  analyse [options] [options]  小程序静态资源分析,-d 删除无依赖文件
  help [command]             display help for command

syy commit Git 代码提交

提交所有文件

选择部分提交

取消提交 reset

内网穿透

syy lt -p 8000

syy lt -p 8000 -subdomain henry

其他

  • 关于压缩

    压缩之后,会在执行目录下生成typng.json的文件,该文件用于判断图片是否已经压缩,具体以文件hash为准。

Readme

Keywords

none

Package Sidebar

Install

npm i @syyfe/cli

Weekly Downloads

6

Version

1.5.2

License

ISC

Unpacked Size

380 kB

Total Files

35

Last publish

Collaborators

  • henry.zhou