webjars

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cmd = &cobra.Command{
		Use:                "webjars",
		Short:              "Download Webjars and extract",
		FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true},
		RunE:               Run,
	}
	Args = Arguments{
		Resources: []string{},
	}
)
View Source
var TmplFS embed.FS

Functions

func Run

func Run(cmd *cobra.Command, _ []string) error

Types

type Arguments

type Arguments struct {
	GroupId    string   `flag:"group,g,required" desc:"Webjar's Group ID"`
	ArtifactId string   `flag:"artifact,a,required" desc:"Webjar's Artifact ID"`
	Version    string   `flag:"version,v,required" desc:"Webjar's Version"`
	Resources  []string `` /* 131-byte string literal not displayed */
	MavenRepos []string `flag:"maven-repos" desc:"Comma delimited list of additional maven repository URLs"`
}

Jump to

Keyboard shortcuts

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