Student Robotics Competition Command Line Interface¶
SRComp CLI is a set of command-line tools for operating SRComp at a competition and for working with compstate repositories.
Installation¶
You can install SRComp CLI using pip
:
pip install -U pip setuptools wheel
pip install sr.comp.cli
Bash completions are also available, see the bash-completion
file in the
root of the repo.
Commands¶
The CLI tools are provided as sub-commands of a single srcomp
program:
- add-delay
- awards
- delay
- deploy
- fetch
- for-each-match
- import-schedule
- knocked-out-teams
- lighting-controller
- list-commands
- list-midi-ports
- match-order-teams
- print-schedule
- round-trip
- schedule-league
- score
- shift-matches
- show-league-table
- show-schedule
- summary
- top-match-points
- update-layout
- validate
- youtube-chapters
Internals¶
SRComp CLI does not have a Python API as such, however its shared internals are documented as a guide for developers adding new commands.