cmd

package
v0.0.0-...-388587c Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Overview

Package cmd provides the kt commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

New creates the kt command with arguments.

func NewCommand

func NewCommand(in io.Reader, out, errOut io.Writer) *cobra.Command

NewCommand creates the `kt` command and its nested children.

func RunCompletion

func RunCompletion(out io.Writer, shell string, cmd *cobra.Command) error

RunCompletion checks given arguments and executes command.

func UsageErrorf

func UsageErrorf(cmd *cobra.Command, format string, args ...interface{}) error

func Version

func Version() string

Version is the current spinctl version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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