/** Generated by make gen-cli-localization. Do not edit. */
import { MESSAGE_300, MESSAGE_303 } from "std/cli/localization/messages/part_60"
import { MESSAGE_312 } from "std/cli/localization/messages/part_62"
import { MessageTemplate, render_message } from "std/cli/message_template"
const MESSAGES: dict<string, MessageTemplate> = {
"{0} buckets: cache_effective={1} cache_supported_miss={2} unsupported_zero={3} support_unknown_zero={4} no_prompt_tokens={5} provider_field_inconsistent={6}\n":
MESSAGE_300,
"{0} run {1}: {2} input={3} fresh={4} cache_read={5} cache_write={6}\n": MESSAGE_303,
"{0} {1} support={2} breakpoint={3} verdict={4} dogfood_failure={5}\n": MESSAGE_312,
}
/**
* Select a registered CLI template without interpreting argument text.
* @effects: []
* @errors: ["Unregistered CLI localization message", "CLI localization argument count does not match its registered template"]
*/
pub fn cli_message(locale: string, source: string, values: list<string>) -> string {
const template = MESSAGES[source]
guard template != nil else {
throw "Unregistered CLI localization message"
}
return render_message(template, locale, values)
}