diff options
| author | Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com> | 2018-12-15 01:58:59 +0300 |
|---|---|---|
| committer | Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com> | 2018-12-15 01:58:59 +0300 |
| commit | 9a54e2957f370fc2515b5263fff271cd842da87d (patch) | |
| tree | d259a1e7debaf9d8c6e0ddfb81ecf378ee525ace /main.go | |
| parent | renamed some files (diff) | |
| download | gitbatch-9a54e2957f370fc2515b5263fff271cd842da87d.tar.gz | |
added quick mode
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,7 @@ var ( ignoreConfig = kingpin.Flag("ignore-config", "Ignore config file").Short('i').Bool() recurseDepth = kingpin.Flag("recursive-depth", "Find directories recursively").Default("1").Short('r').Int() logLevel = kingpin.Flag("log-level", "Logging level; trace,debug,info,warn,error").Default("error").Short('l').String() + quick = kingpin.Flag("quick", "runs without gui and fetches/pull remote upstream. modes are fetch or pull").Short('q').String() ) func main() { @@ -28,6 +29,7 @@ func main() { LogLevel: *logLevel, IgnoreConfig: *ignoreConfig, Depth: *recurseDepth, + QuickMode: *quick, }) if err != nil { log.Fatal(err) |
