minectl

package
v0.51.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   string
	GitCommit string
	Date      string
)

Functions

func Execute

func Execute(version, gitCommit, date string) error

func GetHomeFolder

func GetHomeFolder() string

func RunFunc

func RunFunc(run func(cmd *cobra.Command, args []string) error) func(*cobra.Command, []string) error

Types

type ModType

type ModType string
const (
	Forge  ModType = "forge"
	Fabric ModType = "fabric"
)

type Plugin

type Plugin struct {
	Name        string
	Mod         ModType
	Version     []string
	DownloadURL string
	Destination string
}

Jump to

Keyboard shortcuts

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