#![allow(unused_crate_dependencies)]
use clap::{CommandFactory, Parser};
use influxdb3_plugin_cli::{IndexEntry, Manifest, PluginConfig};
fn main() {
let runtime = tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.expect("tokio runtime builds");
if let Ok(config) = PluginConfig::try_parse_from(["influxdb3-plugin", "--help"]) {
let _ = runtime.block_on(config.run());
}
let cmd = PluginConfig::command();
let _version: &str = cmd
.get_version()
.expect("PluginConfig must declare a version attribute");
fn _takes_manifest(_: Manifest) {}
fn _takes_index_entry(_: IndexEntry) {}
}