DEV Community

Mr Smithnen
Mr Smithnen

Posted on

YINI CLI 1.2.1-beta: Safer Validation, Improved Help, nd Smarter Output Handling

This release improves validation robustness in yini-cli and makes CLI behavior more predictable and consistent.


1.2.1-beta — 2026-02

Improved

  • validate command:
    • Strengthened diagnostics handling and metadata safety checks.
    • Replaced unsafe internal assertions with controlled error handling.
    • Improved --silent behavior and exit code consistency.

1.2.0-beta — 2026-02

Improved

  • --help now displays full help for all commands. Command-specific help remains available via:
  yini help <command>
Enter fullscreen mode Exit fullscreen mode

Changed

  • Extended environment information is now available via the info command. The global --info option has been removed. Use:
  yini info
Enter fullscreen mode Exit fullscreen mode
  • parse now defaults to formatted JSON output.
  • --compact outputs minified JSON (no whitespace).
  • Improved --output file handling:
    • Output is written only if the destination file does not exist or is older than the source .yini file.
    • --overwrite always replaces existing files.
    • --no-overwrite prevents replacing existing files.

Added

  • --js option for parse to output JavaScript-style objects.

Deprecated

  • --pretty flag for parse (use --json explicitly if needed).

Try YINI CLI

Install globally:

npm install -g yini-cli
Enter fullscreen mode Exit fullscreen mode

Or run without installing:

npx yini-cli --help
Enter fullscreen mode Exit fullscreen mode

Explore the Project

Top comments (0)