app

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Runner shell.Runner
}

Options for a ThelmaApp

type ThelmaApp

type ThelmaApp struct {
	Config      *config.Config
	ShellRunner shell.Runner
	Paths       *paths.Paths
}

ThelmaApp Cross-cutting dependencies for Thelma commands

func New

func New(cfg *config.Config) (*ThelmaApp, error)

New construct a new App, given a Config

func NewWithOptions

func NewWithOptions(cfg *config.Config, options Options) (*ThelmaApp, error)

NewWithOptions construct a new App, given a Config & options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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