diff options
Diffstat (limited to 'src/config/role.rs')
| -rw-r--r-- | src/config/role.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/role.rs b/src/config/role.rs index 1acf027..2bff545 100644 --- a/src/config/role.rs +++ b/src/config/role.rs @@ -72,7 +72,7 @@ For example if the prompt is "Hello world Python", you should return "print('Hel } } - pub fn info(&self) -> Result<String> { + pub fn export(&self) -> Result<String> { let output = serde_yaml::to_string(&self) .with_context(|| format!("Unable to show info about role {}", &self.name))?; Ok(output.trim_end().to_string()) |
