~talon/screeps unlisted

a colony
fd734ed4 — Talon Poole 2 months ago
latest
769e2549 — Talon Poole 2 months ago
update README and pull
dc1f0bfa — Talon Poole 2 months ago
oops

refs

sim
browse  log 

clone

read-only
https://git.sr.ht/~talon/screeps
read/write
git@git.sr.ht:~talon/screeps

You can also use your local clone with git send-email.

#development

#dependencies

  • curl
  • sed
  • jq

#push/pull

./push and ./pull from screeps.com. By default this will use the name of the current git branch and the src directory. NOTE: nested directories are not currently supported. Branches are created and assigned to "world" (your live colony) or "sim" (a local practice colony) via the in-game console. At first, only the "default" branch exists.

#api

Use ./api to GET from the API (ex. ./api user/code). The second argument will be sent using -d in a curl -X POST request (ex. ./api user/code @code.json). The script will walk you through setting up an authentication token if you do not already have one.

#see also