A CLI tool for creating Minecraft modpacks using the Fabric loader.
Find a file
2022-08-16 22:19:24 +02:00
bin Prepare v1.0.0 2022-08-16 20:03:29 +02:00
docs initial commit 2022-08-16 00:24:29 +02:00
src Implement horizr init 2022-08-16 22:19:24 +02:00
test-pack Implement horizr init 2022-08-16 22:19:24 +02:00
.gitignore initial commit 2022-08-16 00:24:29 +02:00
LICENSE initial commit 2022-08-16 00:24:29 +02:00
package.json Implement horizr init 2022-08-16 22:19:24 +02:00
pnpm-lock.yaml Implement horizr init 2022-08-16 22:19:24 +02:00
README.md Implement horizr init 2022-08-16 22:19:24 +02:00
tsconfig.json initial commit 2022-08-16 00:24:29 +02:00

Horizr CLI

A CLI tool for creating Minecraft modpacks using the Fabric loader.

🎉 Features:

Usage

Because both pkg and nexe dont support ES modules at the time of writing, I cant publish executable files.

The only way of installing is therefore npm.

$ npm i -g @horizr/cli

Run any command with the -h flag to see the available options.

A new pack can be initiated using horizr init <path>.

Examples

  • Activate the latest (compatible) version of Charm
$ horizr modrinth mod activate charm

# or short:
$ horizr mr mod a charm
  • Activate v4.1.1 of Charm
$ horizr modrinth mod versions charm

# `BT9G1Jjs` is the version code you are looking for.
# This output will be colored in your console.
BT9G1Jjs 4.2.0+1.18.2 (↓ 137)
featured

Name: [1.18.2] 4.2.0
Channel: release
Minecraft versions: 1.18.2

Publication: last week

https://modrinth.com/mod/pOQTcQmj/version/BT9G1Jjs

# … more versions omitted for brevity

$ horizr modrinth version activate BT9G1Jjs

Charm (4.2.0+1.18.2) was successfully activated.


Dependencies
◉ Fabric API (P7dR8mSH): any version

  • Check for updates
$ horizr update
# Because Sodium's version string is not a valid SemVer,
# the publication date will instead be used for comparison.
 Sodium has no valid semantic version: mc1.18.2-0.4.1. The
publication date will instead be used.

Available updates
- charm Charm: 4.1.0+1.18.2 → 4.2.0+1.18.2
$ horizr update charm

Changelog for 4.2.0+1.18.2

* Added ebony wood.
* Fixed issue with Totems not always spawning or being
carried away by mobs.
# … omitted for brevity

Apply the update? [Y/n] y

Successfully updated Charm to 4.2.0+1.18.2.