CLI reference

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.2.1') was successfully installed.

Once the CLI is installed, use help to see available commands and options:

$ dotnet avro help
Chr.Avro.Cli 7.2.1
Copyright (C) 2019 C.H. Robinson

The same information is also available here:

createCreate an Avro schema for a .NET type.
generateGenerates C# code for a schema from the Schema Registry.
registry-getRetrieve a schema from the Schema Registry.
registry-testVerify that a .NET type is compatible with a schema in the Schema Registry.