File uploads
CLI commands for repo-scoped file uploads.
Commands
list-file-uploadsget-file-uploadcreate-file-uploadupdate-file-uploaddelete-file-uploaddownload-file-upload-content
Examples
pearing-cli list-file-uploads teams/platform/website
pearing-cli create-file-upload website \
--file ./screenshot.png \
--description "Build screenshot"
pearing-cli download-file-upload-content website a1b2c3d4-... --output ./screenshot.png
Help Output
list-file-uploads <REPO>
get-file-upload <REPO> <UUID>
create-file-upload [OPTIONS] --file <FILE> <REPO>
update-file-upload [OPTIONS] <REPO> <UUID>
delete-file-upload <REPO> <UUID>
download-file-upload-content [OPTIONS] <REPO> <UUID>
Notes
create-file-uploadreads a local file and uploads it as multipart form data.download-file-upload-contentwrites the stored bytes to stdout unless--outputis set.- Deletes are permanent from the caller's perspective; the underlying soft-delete is an implementation detail.