Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// ProjectPath is the directory to scan for framework/database hints.
// If empty, Run prompts the user.
ProjectPath string
// OutputPath is the directory where .linespec.yml is written.
// If empty, Run prompts the user (defaults to ProjectPath).
OutputPath string
// Force skips the overwrite confirmation when .linespec.yml already exists.
Force bool
// Stdin is read for interactive prompts. Defaults to os.Stdin.
Stdin io.Reader
// Stdout receives all prompt output. Defaults to os.Stdout.
Stdout io.Writer
}
Options controls the behaviour of Run.
Click to show internal directories.
Click to hide internal directories.