app

package
v0.8.18 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MPL-2.0 Imports: 40 Imported by: 0

Documentation

Overview

Package app encapsulates the core earth command-line application logic, handling initialization and execution.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EarthApp added in v0.8.18

type EarthApp struct {
	BaseCLI *base.CLI
}

EarthApp encapsulates the core earth command-line application.

func NewEarthApp added in v0.8.18

func NewEarthApp(cliInstance *base.CLI, rootApp *subcmd.Root, buildApp *subcmd.Build) *EarthApp

NewEarthApp creates a new EarthApp.

func (*EarthApp) Run added in v0.8.18

func (app *EarthApp) Run(ctx context.Context, lastSignal *syncutil.Signal) (code int)

Run runs the CLI and returns an exit code to pass to os.Exit.

Jump to

Keyboard shortcuts

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