cmdlist

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: 9 Imported by: 0

Documentation

Overview

Package cmdlist defines the "list" command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(appInfo *appinfo.AppInfo) *cobra.Command

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

Types

type Command

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

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

func (*Command) List

func (c *Command) List(cmd *cobra.Command, args []string) error

List は "list" コマンドの本体です。

Jump to

Keyboard shortcuts

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