Skip to content

raftario/bm2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bm2

CLI for the Beat Saber mod repository BeatMods2

GitHub Actions

BeatMods1 compatibility

The current version of bm2 works with BeatMods1, but your mod must follow the new BeatMods2 standards to be able to use it.

Manifest

bm2 makes extensive use of the manifest and validates it. You can check out the manifest schema or an example to get started. Most code editors support JSON Schema validation using various settings, which can make editing the manifest way easier.

Usage

Just run bm2 --help to get started.

Available commands

  • config - Edits the application config
  • init - Initialises a new manifest
  • migrate - Migrates a manifest from the old to the new format
  • publish - Publishes this mod to BeatMods
  • update - Checks for updates and install them

Installation

You can either download the tool from the releases page or clone this repository and run cargo install --path . if you have the Rust toolchain installed.

If you install from the releases, you'll need to add the directory where the tool is located to your PATH environment variable.

Contributing

Contributors are welcome! To get started, you'll just need the Rust toolchain installed.

Enabling backtraces

Use a nightly rust compiler (rustup is your friend), then compile the crate with the nightly feature, and enable the environment variable RUST_BACKTRACE: RUST_BACKTRACE=1 cargo +nightly run --features nightly

License

bm2 is MIT licensed.

About

CLI for the Beat Saber mod repository BeatMods2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages