option

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*options)

Option represents a shh option

func WithHistory

func WithHistory(history *runner.History) Option

WithHistory creates with history option

func WithRunner

func WithRunner(runner runner.Runner) Option

WithRunner creates with runner option

func WithShell

func WithShell(shell string) Option

WithShell creates with shell option

func WithShellPrompt

func WithShellPrompt(shellPrompt string) Option

WithShellPrompt creates with shell prompt option

func WithTimeout

func WithTimeout(timeoutSec int) Option

WithTimeout creates with timeout option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL