Skip to content

Commit 01f4093

Browse files
authored
Merge pull request #157 from warpdotdev/jefflloyd/update-workflow-constructor-with-desc
Add description field to Workflow constructor
2 parents 843f31e + c8ebff5 commit 01f4093

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

workflow-types/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ impl Workflow {
7777
self.arguments = arguments;
7878
self
7979
}
80+
81+
pub fn with_description(mut self, description: String) -> Self {
82+
self.description = Some(description);
83+
self
84+
}
8085
}
8186

8287
#[derive(Clone, Debug, Deserialize, Serialize, Eq, PartialEq, Hash, PartialOrd)]

0 commit comments

Comments
 (0)