Skip to content

Releases: JordanCoin/wom-cli

v0.3.1

Choose a tag to compare

@JordanCoin JordanCoin released this 29 Aug 14:39
1124e10

What's Changed

  • feat(competition): take the verification code from the environment by @JordanCoin in #4

Full Changelog: v0.3.0...v0.3.1

v0.3.0 — team competitions

Choose a tag to compare

@JordanCoin JordanCoin released this 23 Aug 02:53
354993f

--team on competition create

The CLI could read team competitions and not create them. A clan bingo on WOM is a team competition, so the shape the clan actually runs was the one shape Andy could not make. Me So Scape Battleship Bingo (140957) and Me So Summer Bingo (102382) both exist on group 5165 in that form.

wom competition create \
  --title "Summer Bingo" --metric ehb \
  --starts "2026-06-13T00:00:00Z" --ends "2026-06-27T00:00:00Z" \
  --group-id 5165 --verification-code "..." \
  --team "Team Alpha=Doe Matic,Uka36" \
  --team "Team Bravo=pollieolly,Zezima"

Repeat --team once per side. = splits the name from the roster and , splits the roster: unambiguous, because an OSRS name is at most 12 characters of letters, digits, spaces and underscores and can contain neither.

Refused before the request goes out rather than left for the API to reject: --participants together with --team, a team with no players, and the same team name twice. That last one matters because WOM keys a team by name, so a duplicate would silently merge two rosters into one team instead of erroring.

Why it matters: every participation in a team competition carries teamName, so competition view gives per-team standings with no separate roster mapping. The WOM side and the Discord side of an event join on the same team names.

Also

  • First tests in this repo. The POST body is built by buildCompetitionBody, split out so it is testable with no I/O. Mutation-tested: dropping the both-set guard, sending teams under the participants key, allowing a duplicate team name, and swapping name and roster around the = each fail a named test.
  • A regression test keeps groupId numeric on the team path, so the v0.2.1 fix cannot come undone through it.
  • SKILL.md was untracked and is now committed.

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 20 Aug 17:56
ca7b076
ci: publish darwin and arm64 release assets (#1)

Only linux-amd64 was published, so macOS hosts could never install this
CLI from a release — community-os resolves skill binaries by the asset
name {goos}-{goarch}. Build all four targets in the one job (pure Go,
CGO_ENABLED=0, so no extra toolchain) and attach them to the same
release. The existing wom-linux-amd64 asset name is unchanged.

Refs JordanCoin/community-os#432


Claude-Session: https://claude.ai/code/session_01RKWDEGDsNbhF8dFcqesYG3

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

v0.2.1 — fix competition groupId, add --sort-by level

Choose a tag to compare

@JordanCoin JordanCoin released this 21 Mar 14:08

Fix competition groupId sent as string instead of number to WOM API. Add --sort-by level flag for hiscores to rank by total level instead of XP.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 16 Mar 18:42
feat: add --metric flag to player gains — filter by specific skill or…

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 16 Mar 01:47
feat: wom CLI v0.1.0 — full WiseOldMan API wrapper

Player commands:
  lookup — stats, EHP/EHB, top boss KCs with proper names
  gains — skill XP + boss KC gains by period
  update — trigger stat refresh
  search — find players by partial name
  achievements — player achievement list

Group commands:
  info — group details
  leaderboard — gains by any metric (overall, ehb, vorkath, etc.)
  hiscores — total stats leaderboard
  members — full member list with roles
  competitions — list group competitions

Competition commands (full CRUD):
  create — with participants or group-based
  view — standings with gains
  edit — change title, end date, participants
  add-participants / remove-participants
  update-all — refresh all outdated stats
  delete — with verification code

Features:
  - Boss names properly formatted (The Leviathan, Chambers of Xeric CM)
  - EHB/EHP shown with decimals (8.5 ehb)
  - Numbers formatted (5.5M, 649K)
  - --json on every command
  - Actionable error messages