Crate schema_registry_cli
source ·Expand description
Schema registry CLI
Provide a CLI to call with a schema registry.
Install
From source
If you have the Rust tooling
$ cargo install --locked schema-registry-cli
From pre-built binaries
TODO
Usage
Show help
$ schema-registry-cli --help
CLI for a schema-registry
Usage: schema-registry-cli [OPTIONS] <COMMAND>
Commands:
subject Subject commands
schema Schema commands
completion Generate shell completions
help Print this message or the help of the given subcommand(s)
Options:
-v, --verbose... More outputs per occurrence
-q, --quiet... Less outputs per occurrence
-h, --help Print help
-V, --version Print version
Subject commands
$ schema-registry-cli subject --help
Subject commands
Usage: schema-registry-cli subject [OPTIONS] <COMMAND>
Commands:
list List subjects
register Register schema
check Check schema compatibility
delete Delete subject
help Print this message or the help of the given subcommand(s)
Options:
-v, --verbose... More outputs per occurrence
-q, --quiet... Less outputs per occurrence
-h, --help Print help
Schema commands
$ schema-registry-cli schema --help
Schema commands
Usage: schema-registry-cli schema [OPTIONS] <COMMAND>
Commands:
get List subjects
help Print this message or the help of the given subcommand(s)
Options:
-v, --verbose... More outputs per occurrence
-q, --quiet... Less outputs per occurrence
-h, --help Print help
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Modules
- Commands that can be run
Structs
- Check schema compatibility
- Generate completions for shell
- Delete subject
- Get a schema by id
- List subjects completions for shell
- Register a schema to a subject
- Schema registry settings
- Schema Registry CLI arguments
- Verbosity
Enums
- A schema registry CLI error
- Available commands
- Subject commands
- Subject commands
Functions
- Initialise tracing
- Process the command
Type Definitions
- The result type