cmd

package
v0.0.0-...-2678282 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 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"`
	Version cli.VersionHandler `cmd:"" name:"version" help:"Print version"`

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

func (*App) AfterApply

func (app *App) AfterApply(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