The Chr.Avro CLI is a .NET Core CLI tool that automates schema creation, registry operations, and more. To install:
$ dotnet tool install Chr.Avro.Cli --global
Tool 'chr.avro.cli' (version '7.0.2') was successfully installed.Once the CLI is installed, use help to see available commands and options:
$ dotnet avro help
Chr.Avro.Cli 7.0.2
Copyright (C) 2019 C.H. Robinson
...The same information is also available here:
| Verb | Summary |
|---|---|
create | Create an Avro schema for a .NET type. |
generate | Generates C# code for a schema from the Schema Registry. |
registry-get | Retrieve a schema from the Schema Registry. |
registry-test | Verify that a .NET type is compatible with a schema in the Schema Registry. |