aug

package
v0.0.0-...-1b94cb7 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HuskyAugmenter

type HuskyAugmenter struct {
	HuskyOpts *HuskyOptions
}

Adds husky to a GitHub repository.

func (*HuskyAugmenter) Augment

func (a *HuskyAugmenter) Augment() error

Adds husky to a GitHub repository. Exits early if any step fails.

type HuskyOptions

type HuskyOptions struct {
	CommitLint *opts.PackageOptions `yaml:"commitlint"`
	// Might need to change these to include specific formatters/linters and their versions
	Format bool `yaml:"format"`
	Lint   bool `yaml:"lint"`
}

type TemplateAugmentor

type TemplateAugmentor interface {
	Id() string
	Augment() error
}

Jump to

Keyboard shortcuts

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