UNPKG

symfony-style-console

Version:

Use the style and utilities of the Symfony Console in Node.js

47 lines (46 loc) 1.57 kB
/** * All available output options. May be combined as a bitmask. */ export var OutputOptions; (function (OutputOptions) { OutputOptions[OutputOptions["VERBOSITY_QUIET"] = 16] = "VERBOSITY_QUIET"; OutputOptions[OutputOptions["VERBOSITY_NORMAL"] = 32] = "VERBOSITY_NORMAL"; OutputOptions[OutputOptions["VERBOSITY_VERBOSE"] = 64] = "VERBOSITY_VERBOSE"; OutputOptions[OutputOptions["VERBOSITY_VERY_VERBOSE"] = 128] = "VERBOSITY_VERY_VERBOSE"; OutputOptions[OutputOptions["VERBOSITY_DEBUG"] = 256] = "VERBOSITY_DEBUG"; OutputOptions[OutputOptions["OUTPUT_NORMAL"] = 1] = "OUTPUT_NORMAL"; OutputOptions[OutputOptions["OUTPUT_RAW"] = 2] = "OUTPUT_RAW"; OutputOptions[OutputOptions["OUTPUT_PLAIN"] = 4] = "OUTPUT_PLAIN"; })(OutputOptions || (OutputOptions = {})); /** * Output with this option will be formatted. */ export const OUTPUT_NORMAL = 1; /** * Output with this option will be passed as-is. */ export const OUTPUT_RAW = 2; /** * Output with this option will have any formatting stripped away. */ export const OUTPUT_PLAIN = 4; /** * Output with this verbosity won't write anyting at all. */ export const VERBOSITY_QUIET = 16; /** * Output with this verbosity will write default content. */ export const VERBOSITY_NORMAL = 32; /** * Output with this verbosity will be more detailed. */ export const VERBOSITY_VERBOSE = 64; /** * Output with this verbosity will be super detailed. */ export const VERBOSITY_VERY_VERBOSE = 128; /** * Output with this verbosity will reveal internals. */ export const VERBOSITY_DEBUG = 256;