#web #command-line-tool #cli #game

bin+lib gcmh

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

6 releases (stable)

1.2.1 Oct 27, 2023
1.2.0 Oct 3, 2023
0.2.0 Oct 2, 2023
0.1.0 Oct 1, 2023

#1297 in Web programming

42 downloads per month

Unlicense

20KB
345 lines

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

$ 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.

Dependencies

~16–31MB
~475K SLoC