cmd

package
v1.0.0-beta.24 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() string

Default returns the default cmd name from config.

func Run

func Run(options fx.Option, c ...CmdFunc) error

Run executes commands with injected fx modules.

Types

type CmdFunc

type CmdFunc func(fx.Option) *co.Command

CmdFunc defines a function that return a command.

func NewCloudEvents

func NewCloudEvents() CmdFunc

NewCloudEvents returns CmdFunc for cloudevents command.

func NewKafka

func NewKafka() CmdFunc

NewKafka returns CmdFunc for kafka command.

func NewLambda

func NewLambda() CmdFunc

NewLambda returns CmdFunc for lambda command.

func NewNats

func NewNats() CmdFunc

NewNats returns CmdFunc for nats command.

Jump to

Keyboard shortcuts

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