Files
drop/cli/spec.md
T
2026-01-25 08:02:23 +11:00

1.1 KiB

Downpour CLI spec

downpour [command] --opts

Commands:

  • new <path/s3 name> - creates/initalizes a depot at the endpoint. Creates manifest.json and speedtest
  • connect [name] - connects to an s3 endpoint and saves the endpoint to some sort of credentials file. Name is either as provided or the hostname of the endpoint
  • upload <path/s3 name> - uploads game as described before. Should fail if depot isn't initialized with new from above
  • copy <src path/s3 name> <dest path/s3 name> - copies between two depots
  • mark-exists <path/s3 name> - modifies depot's manifest.json to show content exists without copying (for third party copies) - maybe throw in checking one or two checks to see if they exist?
  • mark-absent <path/s3 name> - the same as above, but the reverse
  • rename - renames an endpoint [NEEDS API ROUTES - can't do yet]
  • delete - delete an endpoint [NEEDS API ROUTES - can't do yet]