mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-21 16:02:36 +08:00
15 lines
354 B
Go
15 lines
354 B
Go
//go:build !linux
|
|
|
|
package cli
|
|
|
|
import (
|
|
"context"
|
|
"github.com/matthewlu070111/smart-srun/core/internal/domain"
|
|
"os"
|
|
)
|
|
|
|
func isTerminal(*os.File) bool { return false }
|
|
func (*terminalInput) Read(context.Context, string, bool, int) (string, error) {
|
|
return "", domain.Errorf(domain.CodeUnsupportedCapability, "此平台请使用 JSON 标准输入")
|
|
}
|