mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-27 09:21:14 -06:00
1a6056b287
The readline library doesn't support Solaris. For now, we'll just not support console there.
19 lines
432 B
Go
19 lines
432 B
Go
// +build solaris
|
|
|
|
package command
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/hashicorp/terraform/repl"
|
|
"github.com/mitchellh/cli"
|
|
)
|
|
|
|
func (c *ConsoleCommand) modeInteractive(session *repl.Session, ui cli.Ui) int {
|
|
ui.Error(fmt.Sprintf(
|
|
"The readline library Terraform currently uses for the interactive\n" +
|
|
"console is not supported by Solaris. Interactive mode is therefore\n" +
|
|
"not supported on Solaris currently."))
|
|
return 1
|
|
}
|