Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.
/ gcmh Public archive

A CLI tool to improve your custom maps on generals.io

License

Notifications You must be signed in to change notification settings

jwcub/gcmh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcmh

GitHub Actions Crates.io Downloads License

Generals Custom Maps Helper

gcmh is a CLI tool to improve your custom maps on generals.io.

Usage

$ gcmh --help
A CLI tool to improve your custom maps on generals.io.

Usage: gcmh.exe [OPTIONS] <COMMAND>

Commands:
  search  Search for maps
  upvote  Upvote a map
  play    Play a map
  help    Print this message or the help of the given subcommand(s)

Options:
  -m, --map <MAP>            Map name [default: "1*1 Ultimate"]
  -c, --count <COUNT>        Operations count [default: 10]
  -v, --verbose...           More output per occurrence
  -q, --quiet...             Less output per occurrence
  -h, --help                 Print help
  -V, --version              Print version

Examples

  • Search for three maps in keyword maze:

    gcmh -m maze -c 3 search
  • Add 1606 upvotes to a map:

    gcmh -m "1*1 Ultimate" -c 1606 upvote
  • Play a map for 161 times:

    gcmh -m "[From Kana]Maze 2" -c 161 play

Installation

Installing from Crates.io (Recommended)

$ cargo install gcmh
$ gcmh --version
gcmh 1.2.0

Building from Source

$ git clone https://github.com/jwcub/gcmh
$ cd gcmh
$ cargo build --release
$ ./target/release/gcmh --version
gcmh 1.2.0

License

This project is licensed under the Unlicense.