Skip to content

CLI application to download and update projects from Ore

Notifications You must be signed in to change notification settings

DrZoddiak/ore-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ore-Monitor

Ore is a plugin repository built by SpongePowered

Ore-Monitor is a CLI application that displays Ore project information and allows installation.

Setup

Most of what Ore-Monitor does is interacting with public API from Ore; however, An API Key from ore is required. You can set this in your environment variables.

ORE_API_KEY

Usage

All arguments have the help flag available -h|--help

ore_command <search|plugin|install|check|help>

Search


This will perform a search of projects available on Ore

search [-c,-t,-o,-s,-r,-l,--offset] [search]

This will show the latest projects available

ore_command search

This will look up all projects relating to the keyword "nucleus"

ore_command search nucleus

Plugin


Look up plugin version data by its ID

plugin <plugin_id> [versions] [-t,-l,--offset] [version_name]

This command will display plugin information as well as the promoted versions.

ore_command plugin nucleus

This command will show all available versions of the plugin

ore_command plugin nucleus versions

This command will display the same information as the above, but it performs it for the selected version.

ore_command plugin nucleus versions 2.1.4

Install


Install a plugin with the plugin's ID and the name of the version

install [-d] <plugin_id> <version_name>

ore_command install nucleus 2.1.4

Check


Scans a file or directory for .jar files and compares the version with the version on Ore

check [dir]

ore_command check ./plugins

Additional Info

Future Plans

  • Update checking
  • Version upgrading
  • Detect current server version and display contextual data. ex: If the server is API8, display API8 versions first.

Special Thanks

@boxbeam without you, I wouldn't Rust.

Alternatives

Ore-Get by dosmike This project also runs as a plugin, allowing for operations in-game.

OrePlugin by Spongepowered This project is exclusively a plugin.