ant_help_flags = "Flags:\n" ant_command_extra = "\n --help Print help text for command.\n" snapshot_warn = "{warn}: Failed to load snapshot: %s\n" unknown_flag_warn = "{warn}: Unknown ANT_DEBUG flag: \"%s\"\n" failed_to_fetch = "{error}: Could not fetch \"%s\": %s\n" module_not_found = "{error}: Module not found: \"%s\"\n" type_strip_failed = "{error}: Type stripping failed (%d): %s\n" watch_entrypoint_error = "{error}: --watch requires a local file entrypoint.\n" watch_module_error = "{error}: --watch only supports module file execution.\n" watch_subcommand_error = "{error}: --watch is only supported when executing a module file.\n" misuse_clear_screen = "{error}: --no-clear-screen can only be used with --watch.\n" ant_allocation_fatal = "{fatal}: Failed to allocate for Ant.\n" oom_fatal = "FATAL: Out of memory\n" argument_fatal = "{fatal}: Failed to resolve positional argument index.\n" arg_unexpected = "{error}: Unexpected argument %s\n" arg_opt_needed = "{error}: Option %s requires an argument\n" arg_invalid = "{error}: Invalid option %s\n" opt_invalid = "{error}: Invalid option -%c\n" ant_help_header = """\ {let h=bold, arg=cyan, name='Ant'}\ <$h+red>{name} is a tiny JavaScript runtime and package manager ({version})\ <$h>Usage: {~name} [module.js] <$arg>[...flags]
\ <$h>{~name} <><$arg>[...args]\ If no module file is specified, {name} starts in REPL mode.\ """ watch_spawn_failed = "{error}: Failed to spawn watched process: %s\n" watch_entrypoint_missing = "{error}: --watch requires a local file entrypoint.\n" watch_file_failed = "{error}: Failed to watch %s: %s\n" watch_child_error = "{error}: Failed to terminate child process: %s\n" watch_warn_normal = "{warn}: Watcher error on %s: %s\n" watch_loop_cleanup = "{warn}: Watch loop cleanup incomplete: %s\n" watch_graceful_term = "{warn}: Failed to terminate child process gracefully: %s\n" watch_start_fatal = "{fatal}: Failed to initialize watch mode.\n" watch_loop_fatal = "{fatal}: Failed to initialize watch loop: %s\n" watch_loop_handles_fatal = "{fatal}: Failed to initialize watch handles: %s\n"