mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-15 22:00:34 -05:00
* Update `internal/command` to use OpenTF Signed-off-by: Jakub Martin <kubam@spacelift.io> * Fix e2e tests. Signed-off-by: Jakub Martin <kubam@spacelift.io> * Fix e2e tests. Signed-off-by: Jakub Martin <kubam@spacelift.io> * Fix Signed-off-by: Jakub Martin <kubam@spacelift.io> * Rewrite message. Signed-off-by: Jakub Martin <kubam@spacelift.io> --------- Signed-off-by: Jakub Martin <kubam@spacelift.io>
24 lines
549 B
Go
24 lines
549 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
//go:build solaris
|
|
// +build solaris
|
|
|
|
package command
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/mitchellh/cli"
|
|
|
|
"github.com/placeholderplaceholderplaceholder/opentf/internal/repl"
|
|
)
|
|
|
|
func (c *ConsoleCommand) modeInteractive(session *repl.Session, ui cli.Ui) int {
|
|
ui.Error(fmt.Sprintf(
|
|
"The readline library OpenTF currently uses for the interactive\n" +
|
|
"console is not supported by Solaris. Interactive mode is therefore\n" +
|
|
"not supported on Solaris currently."))
|
|
return 1
|
|
}
|