A command-line interface for interacting with the Clonk API.
clone the repository and run cargo install --path .
to install the CLI.
clonk auth login
This will prompt you for your username and password, and then save the authentication cookies to a file in your home directory.
clonk redeem <api_name> [--input "input"]
This will redeem the specified API with the given input (if required).
If (for some reason) you need to send some message repeatedly, you can use special parameters --period
and --count
:
clonk redeem <api_name> --period <ms> --count <n> [--input "input"]