diff

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package diff provides the global diff command for viewing staged changes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cli.Command

Command returns the diff command.

Types

type Options

type Options struct {
	ParseJSON bool
	NoPager   bool
}

Options holds the options for the diff command.

type ParamClient

ParamClient is the interface for SSM Parameter Store operations.

type Runner

type Runner struct {
	ParamClient  ParamClient
	SecretClient SecretClient
	Store        store.ReadWriteOperator
	Stdout       io.Writer
	Stderr       io.Writer
}

Runner executes the diff command.

func (*Runner) Run

func (r *Runner) Run(ctx context.Context, opts Options) error

Run executes the diff command.

type SecretClient

SecretClient is the interface for Secrets Manager operations.

Jump to

Keyboard shortcuts

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