github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/command/console_interactive_solaris.go (about) 1 // Copyright (c) HashiCorp, Inc. 2 // SPDX-License-Identifier: MPL-2.0 3 4 //go:build solaris 5 // +build solaris 6 7 package command 8 9 import ( 10 "fmt" 11 12 "github.com/mitchellh/cli" 13 "github.com/terramate-io/tf/repl" 14 ) 15 16 func (c *ConsoleCommand) modeInteractive(session *repl.Session, ui cli.Ui) int { 17 ui.Error(fmt.Sprintf( 18 "The readline library Terraform currently uses for the interactive\n" + 19 "console is not supported by Solaris. Interactive mode is therefore\n" + 20 "not supported on Solaris currently.")) 21 return 1 22 }