Compare commits

...

2 commits
v0.1.2 ... main

Author SHA1 Message Date
e87753361d fix: update readme 2025-04-01 12:42:11 -04:00
d8976638d3 fix: add version to output 2025-03-27 02:47:54 -04:00
2 changed files with 3 additions and 3 deletions

View file

@ -1,9 +1,9 @@
# smogon stats
turn <https://smogon.com/stats/> chaos json files into [SQLite](https://sqlite.org) databases
you can find pre-generated dbs at <https://pyrope.net/mon/stats> (currently only 2025-02), and you can [fiddle](https://sqlite.org/fiddle) with them in your browser or on your own computer.
you can find pre-generated dbs at <https://pyrope.net/mon/stats>, and you can [fiddle](https://sqlite.org/fiddle) with them in your browser or on your own computer.
## examples
## examples (2025-02)
```sh
smogon-stats gen9ou-1500.json -o gen9ou-1500.sqlite
sqlite3 gen9ou-1500.sqlite -markdown "SELECT name, format('%.2f%%', usage * 100) as usage FROM mon WHERE mon.usage > 0.04 ORDER BY mon.usage DESC LIMIT 10"

View file

@ -52,7 +52,7 @@ fn run(
}
#[derive(clap::Parser)]
#[command(about)]
#[command(version, about)]
struct Config {
#[arg()]
input_file: PathBuf,