mode

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package mode provides functionality for specifying tool operational modes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode

type Mode string

Mode represents the operational mode for a tool, determining how the tool is handled. It could specify different behaviors such as extracting the tool from an archive or searching for the tool.

const (
	// Extract mode indicates that the tool should be extracted from an archive or compressed file.
	Extract Mode = "extract"
	// Find mode indicates that the tool should be located within a specified directory or environment.
	Find Mode = "find"
)

func (Mode) String

func (m Mode) String() string

String returns the string representation of the Mode.

Jump to

Keyboard shortcuts

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