config

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: MIT, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingRollupConfig = errors.New("missing rollup config")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Rollup *rollup.Config
}

func NewConfig

func NewConfig(rollupCfg *rollup.Config) *Config

NewConfig creates a Config with all optional values set to the CLI default value

func NewConfigFromCLI

func NewConfigFromCLI(ctx *cli.Context) (*Config, error)

func (*Config) Check

func (c *Config) Check() error

Jump to

Keyboard shortcuts

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