use rmcp::model::Resource;
pub const HELP_RESOURCE_URI: &str = "magick://help";
pub fn help_resource() -> Resource {
Resource::new(
rmcp::model::RawResource {
uri: HELP_RESOURCE_URI.to_string(),
name: "ImageMagick Help".to_string(),
title: Some("ImageMagick Help Documentation".to_string()),
description: Some("Help documentation for ImageMagick command-line tool. Use this to learn about the available commands and options.".to_string()),
mime_type: Some("text/plain".to_string()),
size: None,
icons: None,
},
None,
)
}
pub fn read_help_resource() -> Result<String, crate::feature::ShellError> {
crate::help()
}