Skip to main content

cmd_prompt_get

Function cmd_prompt_get 

Source
pub fn cmd_prompt_get(
    name: String,
    domain: Option<String>,
    format: Option<String>,
) -> Result<(), Box<dyn Error>>
Expand description

Executes the prompt get subcommand.

§Arguments

  • name - Prompt name to retrieve.
  • domain - Optional domain scope.
  • format - Output format.

§Errors

Returns an error if the prompt is not found.