CLICommands

chrono

snug chrono <COMMAND>

Temporal resource regeneration, cooldowns and idle accrual.

Subcommands

CommandWhat it does
definitionsResource definition management (admin)
readRead the calling user's current value
spendAtomic check-and-debit against the caller's resource
refillGrant or restore value on the caller's resource
materializeExplicit away-report materialization
modifiersModifier management on the caller's resource state
offersPaid refill/boost offers
meEnumerate the caller's own resources
usersAdmin enumeration of any user's resources
analyticsEngagement 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 7d

Next

  • chrono guide - what the service does and when to reach for it.
  • CLI reference - global options, output modes, and exit codes.

On this page