clientcli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(ctx context.Context, cmdName string, help string, ln Listener)

func ListenNoArg

func ListenNoArg(ctx context.Context, cmdName string, help string, ln func() Response)

Types

type Listener

type Listener = func(args *arg.Arg) Response

type Response

type Response = string

Jump to

Keyboard shortcuts

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