Crates.io | cargo-protologic |
lib.rs | cargo-protologic |
version | 0.2.2 |
source | src |
created_at | 2024-02-06 05:40:34.235168 |
updated_at | 2024-02-08 08:26:09.527768 |
description | A small tool to assist in writing Protologic fleets. |
homepage | |
repository | https://github.com/Jerald/cargo-protologic |
max_upload_size | |
id | 1128470 |
size | 32,838 |
This is a small tool to assist in writing Protologic fleets.
To use the run
subcommand, you should have the Protologic Release somewhere on your computer. To simplify usage, you can set the PROTOLOGIC_PATH
environment variable to the location of the release.
$ cargo protologic
A helper for creating Protologic fleets in rust!
Usage: cargo protologic <COMMAND>
Commands:
build Builds Protologic fleets from the cargo workspace
list List all built fleets. If you see none, try building them!
run Run battle between two fleets. The replay file will be put in your current directory. Requires your workspace to have exactly two fleets!
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
cdylib
required!
build
subcommand uses cargo workspace default-members
to pick fleets (by default). This enables you to have other helper crates in the workspace without them being confused for fleets!--player
to cargo protologic run
to start the replay in the player!