Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "cc-test-reporter", Short: "Report information about tests to Code Climate", PersistentPreRun: func(cmd *cobra.Command, args []string) { if debug { logrus.SetLevel(logrus.DebugLevel) } }, RunE: func(cmd *cobra.Command, args []string) error { v, err := cmd.Flags().GetBool("version") if err != nil { return err } if v { fmt.Printf("Code Climate Test Reporter %s\n", version.FormattedVersion()) return nil } return cmd.Help() }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type CoverageFormatter ¶
type CoverageFormatter struct { CoveragePath string In formatters.Formatter InputType string Output string Prefix string // contains filtered or unexported fields }
func (CoverageFormatter) Save ¶
func (f CoverageFormatter) Save() error
type CoverageSummer ¶
Click to show internal directories.
Click to hide internal directories.