cmd

package
v0.0.0-...-bf9f964 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Serve cli.ServeHandler `cmd:"" name:"serve" help:"Run mock server"`

	ConfigPath string `name:"config" short:"c" default:"config.pkl" env:"DITO_CONFIG_PATH" help:"Path to config file" type:"existingfile"`
}

func (*App) AfterApply

func (app *App) AfterApply(ctx context.Context, kongCtx *kong.Context) error

func (*App) Execute

func (app *App) Execute(ctx context.Context) error

Jump to

Keyboard shortcuts

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