github.com/brandonmanuel/git-chglog@v0.0.0-20200903004639-7a62fa08787a/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  	NoCaseSensitive  bool
    18  	Query            string
    19  	NextTag          string
    20  	TagFilterPattern string
    21  }
    22  
    23  // InitContext ...
    24  type InitContext struct {
    25  	WorkingDir string
    26  	Stdout     io.Writer
    27  	Stderr     io.Writer
    28  }