CLICommands
chrono
snug chrono <COMMAND>Temporal resource regeneration, cooldowns and idle accrual.
Subcommands
| Command | What it does |
|---|---|
definitions | Resource definition management (admin) |
read | Read the calling user's current value |
spend | Atomic check-and-debit against the caller's resource |
refill | Grant or restore value on the caller's resource |
materialize | Explicit away-report materialization |
modifiers | Modifier management on the caller's resource state |
offers | Paid refill/boost offers |
me | Enumerate the caller's own resources |
users | Admin enumeration of any user's resources |
analytics | Engagement analytics for a resource (admin) |
Run snug chrono <command> --help for that command's own options.
The global options apply everywhere.
Examples
snug chrono definitions create --file ./energy.json
snug chrono definitions list --page 1 --page-size 20 --sort-order desc
snug chrono definitions get --resource-id res_energy
snug chrono definitions update --resource-id res_energy --file ./energy.json
snug chrono definitions delete --resource-id res_energy
snug chrono definitions simulate --resource-id res_energy --timeline ./scenario.json
snug chrono read --resource-id res_energy --tz-offset-minutes -300
snug chrono spend --resource-id res_energy --amount 10 --idempotency-key spend-1
snug chrono refill --resource-id res_energy --amount 50 --source admin_grant --allow-overflow
snug chrono materialize --resource-id res_factory_output
snug chrono modifiers add --resource-id res_energy --kind regen_multiplier --factor 2.0 --duration-seconds 86400 --source event_weekend
snug chrono modifiers remove --resource-id res_energy --modifier-id mod_123
snug chrono offers purchase --resource-id res_energy --offer-id offer_full_refill --treasury-txn treasury:txn_99a1
snug chrono me resources
snug chrono users resources --user-id user_01HZX
snug chrono analytics --resource-id res_energy --window 7dNext
- chrono guide - what the service does and when to reach for it.
- CLI reference - global options, output modes, and exit codes.