usecase

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(repos repository.Repos, plan Plan) error

func Serve

func Serve(repos repository.Repos, plan Plan) error

func Watch

func Watch(repos repository.Repos, plan Plan) error

Types

type Plan added in v0.0.5

type Plan struct {
	Workdir       string
	ServePath     string
	ServePort     int
	Commands      []string
	WatchIncludes []string
	WatchExcludes []string
}

func (*Plan) Confirm added in v0.0.6

func (p *Plan) Confirm(repos repository.Repos) error

func (*Plan) Print added in v0.0.6

func (p *Plan) Print(repos repository.Repos)

Jump to

Keyboard shortcuts

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