app

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package app provides the entrypoint for the application. It creates the root command and executes the application, handling or returning any errors that occur.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	// contains filtered or unexported fields
}

Application hold the version string and embedded files.

func New

func New(version string, embeds embed.FS) *Application

New creates a new Application instance.

func (*Application) Execute

func (a *Application) Execute() error

Execute runs the root command.

Jump to

Keyboard shortcuts

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