| 21 | } |
| 22 | |
| 23 | type Middleware interface { |
| 24 | preRun(cmd *cobra.Command, args []string) |
| 25 | postRun(cmd *cobra.Command, args []string, runErr error) |
| 26 | } |
| 27 | |
| 28 | func New(cmd *cobra.Command) Executable { |
| 29 | return &midcobraExecutable{ |
no outgoing calls
no test coverage detected