components

package
v0.0.0-...-4a39e04 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx *cli.Context) error

Build is building one or more components.

func Show

func Show(ctx *cli.Context) error

Show is showing a list of components.

Types

type BuildT

type BuildT struct {
	cli.Helper2
	Name []string `cli:"name" usage:"Component name"`
}

BuildT struct.

type Info

type Info struct {
	Name          string
	Dir           string
	GoPath        string
	TemplatePath  string
	AsyncJsPaths  []string
	DeferJsPaths  []string
	JsPaths       []string
	AsyncCssPaths []string
	CssPaths      []string
}

Info struct.

func List

func List(path string) ([]*Info, error)

List returns a list of components info.

func (*Info) Statics

func (info *Info) Statics() []string

Statics returns a slice of all static component paths.

type ShowT

type ShowT struct {
	cli.Helper2
	Verbose bool `cli:"verbose" usage:"More output"`
}

ShowT struct.

Jump to

Keyboard shortcuts

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