app

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: Apache-2.0 Imports: 64 Imported by: 0

Documentation

Overview

Package app runs the gophenberg command line and the site it serves over the plugins it is handed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main added in v0.20.0

func Main(getenv func(string) string, plugins func(sdk.Deps) ([]sdk.Plugin, error)) int

Main runs the gophenberg command line over the arguments and the standard streams of the process, answering its code.

func Program

func Program(getenv func(string) string, plugins func(sdk.Deps) ([]sdk.Plugin, error)) gonsole.Program

Program returns the gophenberg command line over getenv and the compiled plugins.

func ReadsDotEnv added in v0.20.0

func ReadsDotEnv(args []string) bool

ReadsDotEnv reports whether the command args name reads .env, which no server: command does, since root runs them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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