cmd

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: AGPL-3.0 Imports: 71 Imported by: 0

Documentation

Overview

Package cmd contains Cobra command definitions for all Steampipe commands

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommands added in v0.3.0

func AddCommands()

func Execute

func Execute() int

func InitCmd added in v0.3.0

func InitCmd()

Types

type StatusSpinner added in v0.19.0

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

StatusSpinner is a struct which implements StatusHooks, and uses a spinner to display status messages

func (*StatusSpinner) Done added in v0.19.0

func (s *StatusSpinner) Done()

Done implements StatusHooks

func (*StatusSpinner) Message added in v0.19.0

func (s *StatusSpinner) Message(msgs ...string)

func (*StatusSpinner) SetStatus added in v0.19.0

func (s *StatusSpinner) SetStatus(msg string)

SetStatus implements StatusHooks

func (*StatusSpinner) UpdateSpinnerMessage added in v0.19.0

func (s *StatusSpinner) UpdateSpinnerMessage(newMessage string)

UpdateSpinnerMessage updates the message of the given spinner

type StatusSpinnerOpt added in v0.19.0

type StatusSpinnerOpt func(*StatusSpinner)

func WithDelay added in v0.19.0

func WithDelay(delay time.Duration) StatusSpinnerOpt

func WithMessage added in v0.19.0

func WithMessage(msg string) StatusSpinnerOpt

Jump to

Keyboard shortcuts

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