command

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 12 Imported by: 1

Documentation

Overview

Package command provides CLI command implementations for ssh-aliases

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	// contains filtered or unexported fields
}

CLI stands for Command Line Interface CLI interprets user input and executes commands

func NewCLI

func NewCLI(version string, writer io.Writer) (*CLI, error)

NewCLI creates new CLI instance provided version will be printed with --version CLI will write output to provided writer

func (*CLI) ApplyArgs

func (c *CLI) ApplyArgs(args []string) error

ApplyArgs runs the CLI against provided args

Jump to

Keyboard shortcuts

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