github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/command/extended_commander.go (about) 1 package command 2 3 import "github.com/jessevdk/go-flags" 4 5 // ExtendedCommander extends the go-flags Command interface by forcing a Setup 6 // function on all commands. This setup function should setup all command 7 // dependencies. 8 type ExtendedCommander interface { 9 flags.Commander 10 Setup(Config, UI) error 11 }