Created
November 1, 2017 18:11
-
-
Save mhemmings/bce8a17380dc90eaedf1fa64be079661 to your computer and use it in GitHub Desktop.
One line of JS to paste into the console, which puts the Github project status onto the clipboard in a simple easy to read text format for Slack/emails/whatever
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
for(var name,columns=document.querySelectorAll('.project-columns-container>.project-column'),str='',i=0;i<columns.length;++i){name=columns[i].querySelector('.js-project-column-name').innerHTML,str+=`${name}\n`;for(var cards=columns[i].querySelectorAll('.project-card>div>a'),j=0;j<cards.length;j++)str+=`- ${cards[j].innerHTML.trim()}\n`;str+='\n'}copy(str); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output looks like this: