Specified new custom params feature

This commit is contained in:
Daniele Conventi 2016-08-26 19:33:13 +02:00
parent fe78edcda4
commit f95bbbe537

View File

@ -93,6 +93,13 @@ A Go build system with file watchers, output streams and live reload. Run, build
$ realize fast $ realize fast
``` ```
If you want you can specify command flags and parameters
```
$ realize fast --flag1 param1
```
The fast command supports the following custom parameters: The fast command supports the following custom parameters:
``` ```
@ -106,7 +113,7 @@ A Go build system with file watchers, output streams and live reload. Run, build
#### Color reference #### Color reference
- Blue: outputs of the project - Blue: outputs of the project
- Red: errors - Red: errors
- Magenta: times or changed files - Magenta: times or changed files
- Green: successfully completed action - Green: successfully completed action
@ -124,6 +131,9 @@ A Go build system with file watchers, output streams and live reload. Run, build
app_bin: true -> enable/disable go install app_bin: true -> enable/disable go install
app_build: false -> enable/disable go build app_build: false -> enable/disable go build
app_fmt: true -> enable/disable go fmt app_fmt: true -> enable/disable go fmt
app_params:
- --flag1
- param1
app_watcher: app_watcher:
preview: true -> prints the observed files on startup preview: true -> prints the observed files on startup
paths: -> paths to observe for live reload paths: -> paths to observe for live reload
@ -170,7 +180,7 @@ A Go build system with file watchers, output streams and live reload. Run, build
- [ ] Test under windows - [ ] Test under windows
- [ ] Unit test - [ ] Unit test
- [ ] Custom path on commands - [ ] Custom path on commands
- [ ] Output files - [ ] Output files
- [ ] Cli args - [ ] Cli args
- [ ] Before/After command - [ ] Before/After command