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) *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 ProjectChangesetsInfo
- type PublishCommand
- 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) *cobra.Command
NewEachCommand creates a new each 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) *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"`
}
ChangesetInfo represents a single changeset's info
type EachCommand ¶
type EachCommand struct {
// contains filtered or unexported fields
}
EachCommand handles the each command
type ProjectChangesetsInfo ¶
type ProjectChangesetsInfo struct {
Name string `json:"name"`
Changesets []ChangesetInfo `json:"changesets"`
}
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 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
type VersionCommand ¶
type VersionCommand struct {
// contains filtered or unexported fields
}
VersionCommand handles the version command