修改 首次运行引导

master
dengsgo 2019-01-03 10:19:33 +08:00
parent 5f0b16cbdb
commit 92af817777
2 changed files with 3 additions and 3 deletions

View File

@ -158,7 +158,6 @@ func parseArgs() {
if err != nil {
log.Println("the filegirl.yaml file does not exist! ", err)
fmt.Print(firstRunHelp)
fmt.Print(helpStr)
return
}
initWatcher()

5
raw.go
View File

@ -57,19 +57,20 @@ command:
#
notifier:
# url POST json
# : http://example.com/notifier/fileboy-listener
# command
# 15
# POST :
# Content-Type: application/json;charset=UTF-8
# User-Agent: FileBoy Net Notifier v1.2
# Body: {"project_folder":"/watcher-dirs","file":"test.go","changed":1546421173070433800,"ext":".go"}
# : http://example.com/notifier/fileboy-listener
#
callUrl: ""
`
var firstRunHelp = ` fileboy ?
fileboy init
:
使 fileboy help
`
var helpStr = `fileboy [option]