Function cmd_prompt_import
Source pub fn cmd_prompt_import(
source: String,
domain: String,
name: Option<String>,
no_validate: bool,
) -> Result<(), Box<dyn Error>>
Expand description
Executes the prompt import subcommand.
§Arguments
source - Source file path or URL.
domain - Target domain scope.
name - Optional name override.
no_validate - Skip validation.
§Errors
Returns an error if import fails.