github.com/jghiloni/cli@v6.28.1-0.20170628223758-0ce05fe032a2+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  }