github.com/recobe182/terraform@v0.8.5-0.20170117231232-49ab22a935b7/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  }