Skip to content

assets

Manage assets associated with the repository.

Assets are files that can be uploaded and downloaded from the server, typically used for release binaries, documentation, or other artifacts produced by CI pipelines.

Assets are stored per-repository and can be accessed publicly via HTTP. Writing and deleting assets requires authentication.

Terminal window
pogo assets

Delete an asset from the repository.

This permanently removes the asset from the server.

Terminal window
pogo assets delete <name>
  • d
  • rm
  • remove
Terminal window
# Delete an asset
pogo assets delete release/v0.9/binary
# Using the short alias
pogo assets rm old-release.tar.gz

Download an asset and write its contents to stdout.

This is useful for piping asset contents to other commands or for inspecting small text-based assets.

Terminal window
pogo assets get <name>
  • g
  • cat
Terminal window
# Download an asset to stdout
pogo assets get release/v1.0/binary
# Save to a file
pogo assets get release/v1.0/binary > binary
# Using the short alias
pogo assets cat README.md

List all assets in the repository.

This shows all uploaded assets with their names/paths.

Terminal window
pogo assets list
  • l
  • ls
Terminal window
# List all assets
pogo assets list
# Using the short alias
pogo assets ls

Upload an asset to the repository.

If a file path is provided, the file’s contents are uploaded. If no file is provided, the asset content is read from stdin.

Asset names can contain slashes to create a directory-like structure (e.g., “release/v1.0/binary”).

Terminal window
pogo assets put <name> [file]
  • p
  • upload
Terminal window
# Upload from a file
pogo assets put release/v1.0/binary ./build/output
# Upload from stdin
cat ./build/output | pogo assets put release/v1.0/binary
# Using the short alias
pogo assets upload docs/README.md ./README.md