diff --git a/src/cli.rs b/src/cli.rs index 700a69b..75a1592 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -3,6 +3,7 @@ use std::ffi::OsString; use clap::{CommandFactory, FromArgMatches}; use futures::Future; +use imbl_value::imbl::OrdMap; use imbl_value::Value; use reqwest::header::{ACCEPT, CONTENT_LENGTH, CONTENT_TYPE}; use reqwest::{Client, Method}; @@ -246,6 +247,12 @@ where Err(e) => Err(Self::Err::from(e)), } } + fn metadata(&self, method: VecDeque<&'static str>) -> OrdMap<&'static str, Value> { + self.handler.metadata(method) + } + fn method_from_dots(&self, method: &str) -> Option> { + self.handler.method_from_dots(method) + } } impl PrintCliResult for CallRemoteHandler