    /// Set descriptor name of protobuf message
    #[clap(short, long)]
    descriptor: String,
}

impl CreateCollectionMetadataOptions {
    pub(super) async fn create(&self, config: &crate::Config) -> anyhow::Result<()> {
        let mut context = Context::new(config).await?;
        let response = context
            .submit_transaction(self.create_operation(), config.context_id.clone())
            .await?;
        if let Err(err) = response {
            if err.code() == Code::AlreadyExists {
                eprintln!("ignoring existing collection: {}", self.name);