cmd

package
v0.0.0-...-90537fb Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	Session ssh.Session

	RootCmd *cobra.Command
	// contains filtered or unexported fields
}

func NewCLI

func NewCLI(cfg config.Config, db *database.Database, session ssh.Session) *CLI

func (*CLI) AddCommand

func (c *CLI) AddCommand(cmd *cobra.Command)

func (*CLI) Init

func (c *CLI) Init()

func (*CLI) Run

func (c *CLI) Run() error

Jump to

Keyboard shortcuts

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