From 97af9322e76ff5ec9ca89fc938835ec622731528 Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 2 Mar 2023 22:25:55 +0800 Subject: feat: support list roles with --list-roles --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 5f76315..0feed64 100644 --- a/src/config.rs +++ b/src/config.rs @@ -12,7 +12,7 @@ pub struct Config { /// Used only for debugging #[serde(default)] pub dry_run: bool, - /// Predefined rules + /// Predefined roles #[serde(default)] pub roles: Vec, } @@ -31,7 +31,7 @@ impl Config { pub struct Role { /// Role name pub name: String, - /// Prompt text send to ai for setting up a rule + /// Prompt text send to ai for setting up a role pub prompt: String, /// First sentense will append to prompt pub first_sentense: String, -- cgit v1.2.3