Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CiCheckCmd = &cobra.Command{ Use: "ci", Short: "report checks in CI", Long: `Reports and acts on pull requests from sql check output`, RunE: func(cmd *cobra.Command, args []string) error { if viper.ConfigFileUsed() != "" { configFlags := ciCheckFlags{} if err := viper.Unmarshal(&configFlags); err != nil { return fmt.Errorf( "Failure to unmarshal config file via viper: %w", err, ) } if configFlags.InputDir != "" { flags.InputDir = configFlags.InputDir } } return ciCheckRun(cmd, args, flags) }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.