Documentation
¶
Index ¶
- func Execute() error
- func NewAddCommand(fs filesystem.FileSystem) *cobra.Command
- func NewChangelogCommand(fs filesystem.FileSystem) *cobra.Command
- func NewEachCommand(fs filesystem.FileSystem, gitClient git.GitClient, stdoutWriter io.Writer) *cobra.Command
- func NewGHCloseCommand(fs filesystem.FileSystem, git git.GitClient, ghClient github.GitHubClient) *cobra.Command
- func NewGHCommand(fs filesystem.FileSystem, git git.GitClient, ghClient github.GitHubClient) *cobra.Command
- func NewGHLinkCommand(fs filesystem.FileSystem, git git.GitClient, ghClient github.GitHubClient) *cobra.Command
- func NewGHOpenCommand(fs filesystem.FileSystem, git git.GitClient, ghClient github.GitHubClient) *cobra.Command
- func NewPublishCommand(fs filesystem.FileSystem, gitClient git.GitClient, ...) *cobra.Command
- func NewRootCommand(fs filesystem.FileSystem, gitClient git.GitClient, ...) *cobra.Command
- func NewSnapshotCommand(fs filesystem.FileSystem, gitClient git.GitClient, ...) *cobra.Command
- func NewTreeCommand(fs filesystem.FileSystem, gitClient git.GitClient, ...) *cobra.Command
- func NewVersionCommand(fs filesystem.FileSystem, gitClient git.GitClient, ...) *cobra.Command
- type AddCommand
- type ChangelogCommand
- type ChangesetGroup
- type ChangesetInfo
- type EachCommand
- type GHCloseCommand
- type GHLinkCommand
- type GHOpenCommand
- type ProjectChangesetsInfo
- type PublishCommand
- type PullRequestInfo
- type SnapshotCommand
- type TreeCommand
- type TreeOutput
- type VersionCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddCommand ¶
func NewAddCommand(fs filesystem.FileSystem) *cobra.Command
NewAddCommand creates a new add command
func NewChangelogCommand ¶
func NewChangelogCommand(fs filesystem.FileSystem) *cobra.Command
NewChangelogCommand creates a new changelog command
func NewEachCommand ¶
func NewEachCommand(fs filesystem.FileSystem, gitClient git.GitClient, stdoutWriter io.Writer) *cobra.Command
NewEachCommand creates a new each command
func NewGHCloseCommand ¶ added in v0.0.5
func NewGHCloseCommand(fs filesystem.FileSystem, git git.GitClient, ghClient github.GitHubClient) *cobra.Command
func NewGHCommand ¶ added in v0.0.5
func NewGHCommand(fs filesystem.FileSystem, git git.GitClient, ghClient github.GitHubClient) *cobra.Command
func NewGHLinkCommand ¶ added in v0.0.5
func NewGHLinkCommand(fs filesystem.FileSystem, git git.GitClient, ghClient github.GitHubClient) *cobra.Command
func NewGHOpenCommand ¶ added in v0.0.5
func NewGHOpenCommand(fs filesystem.FileSystem, git git.GitClient, ghClient github.GitHubClient) *cobra.Command
func NewPublishCommand ¶
func NewPublishCommand(fs filesystem.FileSystem, gitClient git.GitClient, ghClient github.GitHubClient) *cobra.Command
NewPublishCommand creates a new publish command
func NewRootCommand ¶
func NewRootCommand(fs filesystem.FileSystem, gitClient git.GitClient, ghClient github.GitHubClient) *cobra.Command
NewRootCommand creates the root command
func NewSnapshotCommand ¶
func NewSnapshotCommand(fs filesystem.FileSystem, gitClient git.GitClient, ghClient github.GitHubClient) *cobra.Command
NewSnapshotCommand creates a new snapshot command
func NewTreeCommand ¶
func NewTreeCommand(fs filesystem.FileSystem, gitClient git.GitClient, ghClient github.GitHubClient) *cobra.Command
NewTreeCommand creates a new tree command
func NewVersionCommand ¶
func NewVersionCommand(fs filesystem.FileSystem, gitClient git.GitClient, ghClient github.GitHubClient) *cobra.Command
NewVersionCommand creates a new version command
Types ¶
type AddCommand ¶
type AddCommand struct {
// contains filtered or unexported fields
}
AddCommand handles the add command
type ChangelogCommand ¶
type ChangelogCommand struct {
// contains filtered or unexported fields
}
ChangelogCommand handles the changelog command
type ChangesetGroup ¶
type ChangesetGroup struct {
Commit string `json:"commit"`
CommitShort string `json:"commitShort"`
Message string `json:"message"`
Projects []ProjectChangesetsInfo `json:"projects"`
// contains filtered or unexported fields
}
ChangesetGroup represents a group of related changesets (from same commit)
type ChangesetInfo ¶
type ChangesetInfo struct {
ID string `json:"id"`
File string `json:"file"`
Bump string `json:"bump"`
Message string `json:"message"`
PR *PullRequestInfo `json:"pr,omitempty"`
}
ChangesetInfo represents a single changeset's info
type EachCommand ¶
type EachCommand struct {
// contains filtered or unexported fields
}
EachCommand handles the each command
type GHCloseCommand ¶ added in v0.0.5
type GHCloseCommand struct {
// contains filtered or unexported fields
}
type GHLinkCommand ¶ added in v0.0.5
type GHLinkCommand struct {
// contains filtered or unexported fields
}
type GHOpenCommand ¶ added in v0.0.5
type GHOpenCommand struct {
// contains filtered or unexported fields
}
type ProjectChangesetsInfo ¶
type ProjectChangesetsInfo struct {
Name string `json:"name"`
Changesets []ChangesetInfo `json:"changesets"`
ChangelogPreview string `json:"changelogPreview,omitempty"`
}
ProjectChangesetsInfo represents changesets for a project in a group
type PublishCommand ¶
type PublishCommand struct {
// contains filtered or unexported fields
}
PublishCommand handles the publish command
type PullRequestInfo ¶ added in v0.0.7
type PullRequestInfo struct {
Number int `json:"number"`
Title string `json:"title"`
URL string `json:"url"`
Author string `json:"author"`
Labels []string `json:"labels,omitempty"`
}
PullRequestInfo represents serialized PR metadata for a changeset.
type SnapshotCommand ¶
type SnapshotCommand struct {
// contains filtered or unexported fields
}
SnapshotCommand handles the snapshot command
type TreeCommand ¶
type TreeCommand struct {
// contains filtered or unexported fields
}
TreeCommand handles the tree command
type TreeOutput ¶
type TreeOutput struct {
Groups []ChangesetGroup `json:"groups"`
}
TreeOutput represents the complete tree output
func (*TreeOutput) GetGroupForProject ¶ added in v0.0.5
func (t *TreeOutput) GetGroupForProject(projectName string) *ChangesetGroup
type VersionCommand ¶
type VersionCommand struct {
// contains filtered or unexported fields
}
VersionCommand handles the version command