themes

package
v0.0.0-...-fd3f15f Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: MIT Imports: 20 Imported by: 0

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

type Renderer struct{}

func (*Renderer) Render

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