sync

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(client GitHubClient) *cli.Command

New returns the CLI subcommand for syncing secrets to GitHub repositories. client is the GitHub client injected from the caller; it may be nil only when --dry-run is used (the client is never called in that mode).

Types

type GitHubClient

type GitHubClient interface {
	UpsertRepoSecret(ctx context.Context, req gh.UpsertSecretRequest) error
}

GitHubClient is the interface this command requires from the GitHub client. Defined here (caller side) following idiomatic Go interface placement.

Jump to

Keyboard shortcuts

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