cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package cli provides command-line interface handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleFetch

func HandleFetch(ctx context.Context, args []string)

HandleFetch handles the fetch command and its subcommands.

func HandleIndex

func HandleIndex(ctx context.Context, args []string)

HandleIndex handles the index command and its subcommands.

Types

type FetchJobsConfig

type FetchJobsConfig struct {
	Repo        string
	Owner       string
	WorkflowID  int64
	Destination string
	Token       string
}

FetchJobsConfig holds configuration for the fetch jobs command.

type FetchRunsConfig

type FetchRunsConfig struct {
	Repo        string
	Owner       string
	WorkflowID  int64
	Destination string
	Created     string
	Token       string
	WithJobs    bool
}

FetchRunsConfig holds configuration for the fetch runs command.

type IndexConfig

type IndexConfig struct {
	URL        string
	WorkflowID int64
	Source     string
	User       string
	Password   string
}

IndexConfig holds configuration for index commands.

Jump to

Keyboard shortcuts

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