cli

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute creates and runs the CLI application.

Types

type DeleteCommandResult added in v0.7.5

type DeleteCommandResult struct {
	Org      string               `json:"org" yaml:"org"`
	Repos    []*data.DeleteResult `json:"repos" yaml:"repos"`
	Duration string               `json:"duration" yaml:"duration"`
}

type ImportResult

type ImportResult struct {
	Org          string                        `json:"org,omitempty" yaml:"org,omitempty"`
	Repos        []*data.ImportSummary         `json:"repos,omitempty" yaml:"repos,omitempty"`
	Duration     string                        `json:"duration" yaml:"duration,omitempty"`
	Events       map[string]int                `json:"events,omitempty" yaml:"events,omitempty"`
	Affiliations *data.AffiliationImportResult `json:"affiliations,omitempty" yaml:"affiliations,omitempty"`
	Substituted  []*data.Substitution          `json:"substituted,omitempty" yaml:"substituted,omitempty"`
	Reputation   *data.ReputationResult        `json:"reputation,omitempty" yaml:"reputation,omitempty"`
}

type ScoreResult added in v0.9.2

type ScoreResult struct {
	Org      string                     `json:"org" yaml:"org"`
	Repo     string                     `json:"repo,omitempty" yaml:"repo,omitempty"`
	Result   *data.DeepReputationResult `json:"result" yaml:"result"`
	Duration string                     `json:"duration" yaml:"duration"`
}

ScoreResult holds the output of the score command.

type SeriesData

type SeriesData[T any] struct {
	Labels []string `json:"labels" yaml:"labels"`
	Data   []T      `json:"data" yaml:"data"`
}

Jump to

Keyboard shortcuts

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