cmdhello

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package cmdhello は "hello" コマンドを定義します。このコマンドは "say" コマンド のサブ・コマンド(child)です。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

New は "hello" コマンドの新規オブジェクト(のポインタ)を返します。

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.

Jump to

Keyboard shortcuts

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