github.com/fredbi/git-chglog@v0.0.0-20190706071416-d35c598eac81/cmd/git-chglog/context.go (about) 1 package main 2 3 import ( 4 "io" 5 ) 6 7 // CLIContext ... 8 type CLIContext struct { 9 WorkingDir string 10 Stdout io.Writer 11 Stderr io.Writer 12 ConfigPath string 13 OutputPath string 14 Silent bool 15 NoColor bool 16 NoEmoji bool 17 Query string 18 NextTag string 19 } 20 21 // InitContext ... 22 type InitContext struct { 23 WorkingDir string 24 Stdout io.Writer 25 Stderr io.Writer 26 }