himl.cli 0.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global himl.cli --version 0.5.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local himl.cli --version 0.5.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=himl.cli&version=0.5.0
                    
nuke :add-package himl.cli --version 0.5.0
                    

himl.cli

Command-line interface for himl.net that provides exact parity with the original Adobe HIML himl-config-merger tool. This package is published as a .NET tool.

Installation

Install the CLI tool from NuGet:

dotnet tool install -g himl.cli

Or install from a local nupkg folder (useful for testing):

dotnet tool install --global --add-source ./nupkg himl.cli --version 1.0.0

Usage

The CLI generates configuration files from hierarchical YAML, exactly matching the behavior of himl-config-merger.

Basic Usage

himl.cli <path> --output-dir <output-dir> --levels <levels...> --leaf-directories <leaf-directories...>

Examples

Process a complex hierarchy with environment, region, and cluster levels:

himl.cli examples/complex --output-dir /tmp/output --levels env region cluster --leaf-directories cluster

Process a simple environment-based hierarchy:

himl.cli test-config --output-dir /tmp/output --levels env --leaf-directories env

Required Arguments

  • path - The configs directory to process
  • --output-dir - Output directory where generated configs will be saved
  • --levels - Hierarchy levels (e.g., env, region, cluster)
  • --leaf-directories - Leaf directories that define output files (e.g., cluster)

Optional Arguments

  • --enable-parallel - Process config using multiprocessing
  • --filter-rules-key - Keep only these keys from the generated data, based on the configured filter key

Documentation

For full documentation and examples, see the repository README: https://github.com/aniongithub/himl.net

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.6.0 116 8/24/2025
0.5.0 98 8/24/2025
0.4.0 97 8/24/2025
0.3.0 123 8/18/2025
0.2.0 105 8/16/2025
0.1.0 102 8/16/2025