Documentation
¶
Index ¶
- func AnalyticsFile() string
- func DataDir() string
- func HistoryFile() string
- func HomeDir() string
- func LatestVersionFile() string
- func LogFile() string
- func RunInteractiveShell(ctx context.Context, runner *interp.Runner, ...) error
- type DefaultUserPrompter
- type Paths
- type ShellState
- type StderrCapturer
- type UserPrompter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnalyticsFile ¶
func AnalyticsFile() string
func HistoryFile ¶
func HistoryFile() string
func LatestVersionFile ¶
func LatestVersionFile() string
func RunInteractiveShell ¶
func RunInteractiveShell( ctx context.Context, runner *interp.Runner, historyManager *history.HistoryManager, analyticsManager *analytics.AnalyticsManager, completionManager *completion.CompletionManager, coachManager *coach.CoachManager, logger *zap.Logger, stderrCapturer *StderrCapturer, ) error
Types ¶
type DefaultUserPrompter ¶
type DefaultUserPrompter struct{}
type ShellState ¶
ShellState holds the state of the shell execution
type StderrCapturer ¶
type StderrCapturer struct {
// contains filtered or unexported fields
}
StderrCapturer wraps an io.Writer and captures the output into a buffer
func NewStderrCapturer ¶
func NewStderrCapturer(original io.Writer) *StderrCapturer
func (*StderrCapturer) StartCapture ¶
func (c *StderrCapturer) StartCapture()
func (*StderrCapturer) StopCapture ¶
func (c *StderrCapturer) StopCapture() string
Click to show internal directories.
Click to hide internal directories.