himl 0.4.0
See the version list below for details.
dotnet add package himl --version 0.4.0
NuGet\Install-Package himl -Version 0.4.0
<PackageReference Include="himl" Version="0.4.0" />
<PackageVersion Include="himl" Version="0.4.0" />
<PackageReference Include="himl" />
paket add himl --version 0.4.0
#r "nuget: himl, 0.4.0"
#:package himl@0.4.0
#addin nuget:?package=himl&version=0.4.0
#tool nuget:?package=himl&version=0.4.0
himl
Core library for himl.net (Hierarchical YAML configuration for .NET).
Installation
Install the library package:
dotnet add package himl
Or via Package Manager Console:
Install-Package himl
Basic Usage
Merge simple/default.yaml with simple/production/env.yaml:
using himl;
using himl.core;
var processor = new ConfigurationProcessor(/* dependencies via DI */);
var options = new HimlOptions
{
OutputFormat = OutputFormat.Yaml,
ListMergeStrategy = ListMergeStrategy.AppendUnique
};
var result = await processor.ProcessAsync("examples/simple/production", options);
Console.WriteLine(result.Output);
For full documentation and examples, see the repository README: https://github.com/aniongithub/himl.net
Using the CLI
The himl.cli CLI tool provides exact parity with the original Adobe HIML himl-config-merger tool. It generates configuration files from hierarchical YAML.
Install the CLI tool:
dotnet tool install -g himl.cli
Basic usage:
himl.cli <path> --output-dir <output-dir> --levels <levels...> --leaf-directories <leaf-directories...>
Example:
himl.cli examples/complex --output-dir /tmp/output --levels env region cluster --leaf-directories cluster
For full documentation and examples, see the repository README: https://github.com/aniongithub/himl.net
| Product | Versions 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. |
-
net9.0
- AWSSDK.S3 (>= 3.7.401)
- AWSSDK.SimpleSystemsManagement (>= 3.7.401)
- himl.core (>= 0.4.0)
- Microsoft.Extensions.Configuration (>= 9.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection (>= 9.0.0)
- Microsoft.Extensions.Logging (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Console (>= 9.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.