mirror of
https://github.com/packwiz/packwiz.git
synced 2025-11-19 01:24:32 +01:00
Add migrate command (#207)
* Add base and loader command * Support updating to latest * Support explicit fabric versions * Support explicit Forge version * Support quilt * Add support for updating Minecraft * Add support for Forge recommended * Fix Forge version sorting * Various fixes * Add documentation to the use * More suggestions
This commit is contained in:
16
migrate/migrate.go
Normal file
16
migrate/migrate.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package migrate
|
||||
|
||||
import (
|
||||
"github.com/packwiz/packwiz/cmd"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
// migrateCmd represents the base command when called without any subcommands
|
||||
var migrateCmd = &cobra.Command{
|
||||
Use: "migrate [minecraft|loader]",
|
||||
Short: "Migrate your Minecraft and loader versions to newer versions.",
|
||||
}
|
||||
|
||||
func init() {
|
||||
cmd.Add(migrateCmd)
|
||||
}
|
||||
Reference in New Issue
Block a user