CLIorg
capxul org agreement change
Raise an agreement's rate now, or lower it from a date; give the rate flag it was offered with. --cancel cancels a waiting lowering
Runs in: devnet · staging · production · Moves money: no
Usage
capxul org agreement change [flags] <agreement>Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<agreement> | string | yes | The agreement's ID (ag_…) |
Flags
| Flag | Type | Required | Description |
|---|---|---|---|
--email | string | no | the signed-in person to use, when this machine has several |
--no-wait | boolean | no | return as soon as your approval is open |
--timeout-seconds | integer | no | how long to follow it (default: until the approval lapses) |
--salary | string | no | a salary: 40000/year, 3500/month or 800/week |
--stream | string | no | a stream, released every second: 1400/month |
--amount | string | no | a retainer, released once per period of its rate: 250/week |
--from | string | no | a lowering only: the date or ISO time it takes effect (default: 00:00 UTC tomorrow). A raise takes effect now |
--cancel | boolean | no | cancel the lowering that waits for its date; the rate stays. Takes no rate flag or --from |
Every command also takes the global flags.
Returns
The data of the result that --json prints:
{ status, approvalId, agreement: Agreement, department: AgreementDepartment & { added?, frees?, freesAt? }, released? }: the agreement once its call is on chain; --no-wait: { status: 'awaiting_approval', approvalId, approvalUrl, expiresAt, agreement, department, next: { argv } }Errors
Generated from capxul schema org agreement change.