cmd

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package cmd represents the command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	Globals
	Server serverCmd `cmd:"" help:"daeira server"`
}

CLI represents the command line interface.

type Globals

type Globals struct {
	Debug    bool             `help:"enable debug output"`
	Profiler profilerFlags    `embed:"" prefix:"profiler-"`
	Version  king.VersionFlag `help:"Show version information"`
	Show     king.ShowConfig  `help:"Show config file used"`
}

Globals are the gloabal flags.

Jump to

Keyboard shortcuts

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