github.com/paultyng/terraform@v0.6.11-0.20180227224804-66ff8f8bed40/command/console_interactive_solaris.go (about)

     1  // +build solaris
     2  
     3  package command
     4  
     5  import (
     6  	"fmt"
     7  
     8  	"github.com/hashicorp/terraform/repl"
     9  	"github.com/mitchellh/cli"
    10  )
    11  
    12  func (c *ConsoleCommand) modeInteractive(session *repl.Session, ui cli.Ui) int {
    13  	ui.Error(fmt.Sprintf(
    14  		"The readline library Terraform currently uses for the interactive\n" +
    15  			"console is not supported by Solaris. Interactive mode is therefore\n" +
    16  			"not supported on Solaris currently."))
    17  	return 1
    18  }