opentofu/internal/command/console_interactive_solaris.go
2023-05-02 15:33:06 +00:00

23 lines
530 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
//go:build solaris
// +build solaris
package command
import (
"fmt"
"github.com/hashicorp/terraform/internal/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
}