Skip to main content
Module

x/enzastdlib/commands/mod.ts>EXIT_CODES

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
variable EXIT_CODES
Re-export
import { EXIT_CODES } from "https://deno.land/x/enzastdlib@v0.0.4/commands/mod.ts";

Represents the process exit coded that are reserved by @enzastdlib/commands when calling sub commands.

WARNING: Exit status codes [0, 9] are reserved by this module.

Examples

Example 1

import { EXIT_CODES } from 'https://deno.land/x/enzastdlib/commands/mod.ts';

Deno.exit(EXIT_CODES.resolved);

type

{ resolved: number; unrecognized_command: number; missing_schema: number; malformed_flags: number; reserved_4: number; reserved_5: number; reserved_6: number; reserved_7: number; reserved_8: number; reserved_9: number; }