cmd/goss/goss.go
Function createAddCommand
has 134 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func createAddCommand(app *cli.App) cli.Command {
return cli.Command{
Name: "add",
Aliases: []string{"a"},
Usage: "add a resource to the test suite",
Function createValidateCommand
has 70 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func createValidateCommand(app *cli.App) cli.Command {
startTime := time.Now()
return cli.Command{
Name: "validate",
Function createApp
has 65 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func createApp() *cli.App {
app := cli.NewApp()
app.EnableBashCompletion = true
app.Version = version
app.Name = "goss"
Function createServeCommand
has 63 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func createServeCommand() cli.Command {
return cli.Command{
Name: "serve",
Aliases: []string{"s"},
Usage: "Serve a health endpoint",