programbanner

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service prints the program banner and version number.

func NewService

func NewService(ctx *ctx.Ctx) Service

NewService returns a new Service object.

func (Service) Print

func (s Service) Print()

Print prints the program logo along with its name, tagline and version information.

func (Service) PrintWithResolveOptions

func (s Service) PrintWithResolveOptions(opts *ctx.ResolveOptions)

PrintWithResolveOptions prints the program's logo, along with the options selected for the resolve command.

Jump to

Keyboard shortcuts

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