github.com/kanishk98/terraform@v1.3.0-dev.0.20220917174235-661ca8088a6a/internal/command/console_interactive_solaris.go (about)

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