cmdhello

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package cmdhello defines the "hello" command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

New returns the newly created object pointer of the "hello" command.

Types

type Command

type Command struct {
	*cobra.Command
	// contains filtered or unexported fields
}

Command is the struct to hold cobra.Command and it's flag options.

Directories

Path Synopsis
Package cmdworld defines the "world" command which is the child of "hello" command.
Package cmdworld defines the "world" command which is the child of "hello" command.

Jump to

Keyboard shortcuts

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