stado storage put
Invocation
stado storage put [OPTIONS] <URI> <SOURCE>Purpose
Upload a product object through the provider-neutral Stado namespace. Release objects are always create-only, even without --if-absent
Required inputs and options
| Input or option | Contract |
|---|---|
<URI> | stado://<namespace>/<key> |
<SOURCE> | Local source file, or '-' for stdin |
--if-absent | Refuse to replace an existing object. Implied for stado://releases/... because release objects are immutable |
--content-type <CONTENT_TYPE> | Media type retained as provider-neutral object metadata [default: application/octet-stream] |
--json | Command option; required or optional as shown in the invocation. |
Output and state effect
It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.
Refusals
- Refuse to replace an existing object.
- Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.