Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Input ¶
type Input struct {
// RepoName
RepoName string
// RepoDir is where the git repo to modify lives. It will be copied into WorkDir
RepoDir string
// WorkDir is where we will store some results:
// - {WorkDir}/plan: stores a copy of repodir but with a new commit containing changes
WorkDir string
// Command to run
Command Command
// CommitMessage to send to `git commit -m`
CommitMessage string
// BranchName where the commit will be made
BranchName string
// Whether to display the diff of changes made
Diff bool
// AllowEmptyCommit is whether to allow an empty commit
AllowEmptyCommit bool
}
Input for Plan
Click to show internal directories.
Click to hide internal directories.