Documentation
¶
Overview ¶
Package interpreter implements the virtual machine for executing steps of Git Town commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(args ExecuteArgs) error
Execute runs the commands in the given runstate.
Types ¶
type ExecuteArgs ¶
type ExecuteArgs struct {
Backend gitdomain.RunnerQuerier
CommandsCounter Mutable[gohacks.Counter]
Config config.ValidatedConfig
Connector Option[forgedomain.Connector]
Detached configdomain.Detached
DialogTestInputs components.TestInputs
FinalMessages stringslice.Collector
Frontend gitdomain.Runner
Git git.Commands
HasOpenChanges bool
InitialBranch gitdomain.LocalBranchName
InitialBranchesSnapshot gitdomain.BranchesSnapshot
InitialConfigSnapshot undoconfig.ConfigSnapshot
InitialStashSize gitdomain.StashSize
RootDir gitdomain.RepoRootDir
RunState runstate.RunState
Verbose configdomain.Verbose
}
Click to show internal directories.
Click to hide internal directories.