cmd

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute - Executes the root command.

Types

type Configs

type Configs struct {
	Gits       []Git  `mapstructure:"git,flow"`
	Processors []Exec `mapstructure:"exec,flow"`
}

Configs - Array of processor configs.

type Exec

type Exec struct {
	Path    string `mapstructure:"path"`
	Pattern string `mapstructure:"pattern"`
	Command string `mapstructure:"command"`
}

Processor - Configuration structure for a single processor.

type Git

type Git struct {
	Path       string   `mapstructure:"path"`
	Processors []GitLog `mapstructure:"processors"`
}

Git - Configuration for handling git log entries.

type GitAll

type GitAll struct {
	Commits []GitLogEntry
	Head    GitLogEntry
}

GitAll - Entire Git log.

type GitLog

type GitLog struct {
	Mode     string `mapstructure:"mode"`
	File     string `mapstructure:"file"`
	Template string `mapstructure:"template"`
}

GitLog - Configuration structure for processing git log entries.

type GitLogEntry

type GitLogEntry struct {
	Commit *object.Commit
	Stats  object.FileStats
}

GitLogEntry - Individual git log entry and changed files.

Jump to

Keyboard shortcuts

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