reset

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 8 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(cfg stgcli.GlobalConfig) *cli.Command

Command returns the global reset command for the given provider config.

Types

type Runner

type Runner struct {
	Store store.ReadWriteOperator
	// Services lists the provider services in stable display order.
	Services []stgcli.GlobalServiceSpec
	Stdout   io.Writer
	Stderr   io.Writer
}

Runner executes the reset command.

func (*Runner) Run

func (r *Runner) Run(ctx 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