RunFix runs the fix command with the given configuration
(config FixConfig)
| 28 | |
| 29 | // RunFix runs the fix command with the given configuration |
| 30 | func RunFix(config FixConfig) error { |
| 31 | return runFixCommand(config.WorkflowIDs, config.Write, config.Verbose, config.WorkflowDir, config.DisabledCodemodIDs) |
| 32 | } |
| 33 | |
| 34 | // NewFixCommand creates the fix command |
| 35 | func NewFixCommand() *cobra.Command { |