zzz

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 5 Imported by: 0

README

zzz

Go实时开发小工具

原来用的bee,很好用哈。最近开发项目遇到一个需求。需求是编译前预处理一下,所以搞一下。
安装
go install github.com/midoks/zzz@latest
直接运行
zzz run
创建配置文件
zzz new
  • .zzz.yaml
title: zzz
frequency: 3
dirfilter:
- tmp
- .git
- public
- scripts
- vendor
- logs
- templates
ext:
- go
enablerun: true
action:
  before:
  - find . -name ".DS_Store" -print -delete
  after:
  - echo "zzz end"
  exit:
  - exho "exit"
link: https://github.com/midoks/zzz

  • frequency:编译时间间隔,单位秒
  • dirfilter:不监控目录
  • ext:监控文件后缀
  • action.before:执行前处理
  • action.after:执行后处理
  • action.exit:退出执行
  • enablerun:是否直接执行[go]

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL