themes

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: MIT Imports: 20 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrThemeNotFound = errors.New("Theme not found")
)

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Config *configuration.Configuration `inject:""`
	Cloner interface {
		Clone(args []string, options utils.CloneOptions) error
	} `inject:""`
}

func (*Manager) Delete

func (m *Manager) Delete(theme string) error

func (*Manager) Download

func (m *Manager) Download(theme string) (err error)

func (*Manager) List

func (m *Manager) List() ([]string, error)

func (*Manager) Open

func (m *Manager) Open(themeName string) (*Theme, error)

type Renderer added in v0.8.0

type Renderer struct{}

func (*Renderer) Render added in v0.8.0

func (r *Renderer) Render(w io.Writer, theme *Theme, collection postman.Collection) error

type Theme

type Theme struct {
	Name  string
	Path  string
	Files []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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