Skip to content

Command Reference

This section documents all available commands in the LEADR CLI.

Global Options

All commands support the following global options:

Option Description
--host <HOST> Override the default API host
--help Show help information
--version Show version information

Top-Level Commands

Command Description
register Create a new LEADR account (interactive)
me Show current account and user info

Command Groups

Authentication

Command Description
auth admin configure Configure admin API key
auth admin status Show API key status
auth admin clear Clear saved API key

Resource Management

Group Description Commands
account Account management get, update, delete
user User management create, list, get, update, delete
api-key API key management create, list, get, revoke
game Game management create, list, get, update, delete
board Leaderboard management create, list, get, get-by-code, update, delete
board-template Recurring leaderboards create, list, get, update, delete
score Score management create, list, get, update, delete

Device & Anti-Cheat

Group Description Commands
device Device management list, get, update, delete
device-session Device sessions list, get, update, delete
score-flag Anti-cheat flags list, get, review, delete

Analytics

Group Description Commands
score-submission-meta Submission analytics list, get

Full Reference

For a complete single-page reference of all commands, see reference.md.

Getting Help

Get help for any command:

# General help
leadr --help

# Help for a command group
leadr game --help

# Help for a specific command
leadr game create --help