Last active
August 12, 2021 23:24
-
-
Save iaindooley/fd22d1a675199e2ba5d70021503923d9 to your computer and use it in GitHub Desktop.
Search for words
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var search = "Triad";//change this when you run it | |
new Trellinator().board("My Board").cards().each(function(card) | |
{ | |
if(card.description().toLowerCase().indexOf(search.toLowerCase()) > -1) | |
{ | |
card.addLabel(search); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment