#[non_exhaustive]pub enum TaskKind {
Init,
Plan,
Execute,
Review,
Verification,
Fix,
Pr,
Custom(String),
}Expand description
The kind of task to execute.
Each task kind maps to a directory under tasks/ containing
the task configuration and prompt templates.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Init
Initialize a repository for GBA.
Plan
Plan a new feature through interactive conversation.
Execute
Execute a planned feature phase.
Review
Review code changes (read-only).
Verification
Verify that implementations meet specifications.
Fix
Fix issues identified in review or verification.
Pr
Generate PR description.
Custom(String)
Custom task with a user-defined name.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskKind
impl<'de> Deserialize<'de> for TaskKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TaskKind
impl StructuralPartialEq for TaskKind
Auto Trait Implementations§
impl Freeze for TaskKind
impl RefUnwindSafe for TaskKind
impl Send for TaskKind
impl Sync for TaskKind
impl Unpin for TaskKind
impl UnwindSafe for TaskKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.