Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Auth = &cli.Command{ Name: "auth", Usage: "Manage account authentication", Subcommands: []*cli.Command{ { Name: "logout", Usage: "Log out from account", Action: logout, }, { Name: "login", Usage: "Log in to an account", Action: login, }, }, }
View Source
var Mod = &cli.Command{ Name: "mod", Usage: "Add and manage mods and resource packs", Subcommands: []*cli.Command{ { Name: "download", Usage: "Download mods (modrinth)", Args: true, ArgsUsage: "<id> <instance> [fabric|quilt]", Action: download, }, { Name: "info", Usage: "Show info about mods (modrinth)", Args: true, ArgsUsage: "<id>", Action: info, }, { Name: "show", Usage: "Open mods directory for the specified instance", Args: true, ArgsUsage: "<instance>", Action: show, }, }, }
View Source
var Start = &cli.Command{ Name: "start", Usage: "Start the game", Args: true, ArgsUsage: " <version>", Action: start, Flags: []cli.Flag{ &cli.StringFlag{ Name: "username", Usage: "Set your username to the provided value (launch game in offline mode)", Aliases: []string{"u"}, }, &cli.StringFlag{ Name: "loader", Usage: "Set the mod loader to use", Aliases: []string{"l"}, }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.