github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/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  }