# Introduction
A CLI tool for MyAnimeList, written in rust.

# Installation
```bash
cargo install mal-cli
```
# Setup
1. You will need your own client ID. You you get one [here](https://myanimelist.net/apiconfig/create).
- The app redirect URL needs to be `http://localhost:8080`. Everything else can be custom.
- Example 
2. Export the client ID as an env.
```bash
export MAL_CLI_CLIENT_ID=
```
# Usage
### `list`
Shows your MyAnimeList. Ex: `mal-cli list`. You can add an additional parameter `--num` to filter for the number of anime returned.
### `season`
Shows the anime for a given season and year.
Ex: `mal-cli season --season=fall --year=2022`