CLI reference / artifact / alias / set

stado artifact alias set

Invocation

stado artifact alias set [OPTIONS] <TARGET_REF> <ALIAS>

Purpose

Create an alias or update it with an optimistic precondition

Required inputs and options

Input or optionContract
<TARGET_REF>Positional input; required or optional as shown in the invocation.
<ALIAS>Positional input; required or optional as shown in the invocation.
--expected-previous <EXPECTED_PREVIOUS>Command option; required or optional as shown in the invocation.
--jsonCommand 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

  • 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.