cli

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterActionCmd

func RegisterActionCmd[T sdk.Msg](msg T, short string) *cobra.Command

RegisterActionCmd registers a CLI subcommand for the message of type T to be wrapped inside a new Action.

The fields of msg are automatically mapped into flags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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