acho-skin-cli is a dedicated plugin for the `acho` logging library, designed to provide a set of pre-defined log types specifically tailored for command-line interface (CLI) applications. Its primary function is to enhance the visual presentation of log messages within a terminal, offering consistent and clear output for various states like success, error, info, and warnings. The package is currently at version `2.0.1`, indicating a stable release. While no explicit release cadence is documented, its integration with `acho@4.x` as a peer dependency suggests a mature and maintained component within the `acho` ecosystem. Key differentiators include its singular focus on CLI-specific log styling and its lightweight integration as a types object directly into the `acho` logger, rather than being a standalone logger itself. It is intended to be used in conjunction with `acho` to achieve styled CLI output.
npm install acho-skin-cliVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to initialize the `acho` logger with `acho-skin-cli` and use its various CLI-specific log types.
Ensure your project is configured for CommonJS or use `require()` syntax. If forced to use ESM, consider dynamic `import()` or a CJS wrapper.
Run `npm install acho` in your project to satisfy the peer dependency. Ensure the `acho` version is compatible (currently `4.x`).
Always pass the `acho-skin-cli` result to the `types` option when initializing the `acho` logger, as shown in the quickstart example.
Install `acho` using `npm install acho`. Verify that `acho` is correctly `require`d before `acho-skin-cli` is used.
Replace `import` statements with `const cliSkinTypes = require('acho-skin-cli');`. If you need to use ESM, ensure your `package.json` has `"type": "module"` and all dependencies support ESM, or use dynamic `import()`.