cli

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 34 Imported by: 0

Documentation

Overview

Package cli provides gin-kit cli implementation support.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is set at release time by GoReleaser. Local development builds use Go module build metadata when available.

Functions

func Execute

func Execute()

Execute performs this package operation.

Types

type Diagnostic

type Diagnostic struct {
	// Code store data used by this type.
	Code string
	// Phase store data used by this type.
	Phase string
	// Path store data used by this type.
	Path string
	// Cause store data used by this type.
	Cause error
	// Recovery store data used by this type.
	Recovery string
}

Diagnostic is a stable, actionable CLI error. Codes are safe for automation.

func (*Diagnostic) Error

func (e *Diagnostic) Error() string

Error performs this package operation.

func (*Diagnostic) Unwrap

func (e *Diagnostic) Unwrap() error

Unwrap performs this package operation.

type Manifest

type Manifest struct {
	// Version store data used by this type.
	Version int `yaml:"version"`
	// ProjectType store data used by this type.
	ProjectType string `yaml:"project_type"`
	// RuntimeVersion store data used by this type.
	RuntimeVersion string `yaml:"runtime_version,omitempty"`
	// Module store data used by this type.
	Module string `yaml:"module"`
	// Project store data used by this type.
	Project string `yaml:"project"`
	// Mode store data used by this type.
	Mode string `yaml:"mode"`
	// Database store data used by this type.
	Database string `yaml:"database"`
	// ORM store data used by this type.
	ORM string `yaml:"orm"`
	// Auth store data used by this type.
	Auth bool `yaml:"auth"`
	// OAuth store data used by this type.
	OAuth bool `yaml:"oauth"`
	// Example store data used by this type.
	Example bool `yaml:"example"`
	// Docker store data used by this type.
	Docker bool `yaml:"docker"`
}

Manifest defines an implementation type used by this package.

Jump to

Keyboard shortcuts

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