reset

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package reset provides the global reset command for unstaging all changes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cli.Command

Command returns the global reset command.

Types

type Runner

type Runner struct {
	Store  *staging.Store
	Stdout io.Writer
	Stderr io.Writer
}

Runner executes the reset command.

func (*Runner) Run

func (r *Runner) Run(_ context.Context) error

Run executes the reset command.

Jump to

Keyboard shortcuts

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