corvus-ch/horcrux

View on GitHub
internal/create.go

Summary

Maintainability
A
0 mins
Test Coverage
A
92%

Showing 2 of 3 total issues

Identical blocks of code found in 2 locations. Consider refactoring.
Wontfix

func (c *createCommand) InputInfo() input.Input {
if c.info != nil {
return c.info
}
 
 
Severity: Minor
Found in internal/create.go and 1 other location - About 35 mins to fix
internal/format.go on lines 66..79

exported function RegisterCreateCommand should have comment or be unexported
Open

func RegisterCreateCommand(app *kingpin.Application, log logr.Logger, action createAction) *createCommand {
Severity: Minor
Found in internal/create.go by golint

exported func RegisterCreateCommand returns unexported type *internal.createCommand, which can be annoying to use
Open

func RegisterCreateCommand(app *kingpin.Application, log logr.Logger, action createAction) *createCommand {
Severity: Minor
Found in internal/create.go by golint
Category
Status