modrinth / code

The Modrinth monorepo containing all code which powers Modrinth!
https://modrinth.com
Other
875 stars 154 forks source link

[CLI] "profile init" cannot create a fabric profile #922

Open bigfoot547 opened 9 months ago

bigfoot547 commented 9 months ago

Describe the bug

When running modrinth_cli profile init ... and choosing to use fabric, no versions seem to work, including latest, stable, and manually entering 0.15.0. The issue appears with any game version I have tried (1.20.1, 1.20.2, etc.).

The command claims Invalid version stable for modloader Fabric.

Steps to reproduce

  1. Run a command like theseus_cli profile init test_folder --name test_profile --game-version 1.20.1 --modloader fabric --loader-version stable
  2. The command will fail stating Invalid version stable for modloader Fabric

Expected behavior

A new fabric profile running Minecraft 1.20.1 and Fabric 0.15.0 (or whatever the latest stable happens to be) should be created.

System information

$ uname -a
Linux nohostname 6.5.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) x86_64 GNU/Linux
$ git describe --tags
v0.6.2

Compiled with cargo build --release -p theseus_cli.

Additional context

No response

Minenash commented 2 weeks ago

tmk, they haven't really worked on the CLI in a long time