Created to automate a repetitive task at work. Most likely this will only be useful to me.
It takes a standardized README.md provided by work and produces a new file called SLACKER.txt which takes the contents of the readme and formats it for pasting into the work Slack
- Install it globally:
sudo npm install -g .
- Navigate to directory with README.md and run command:
- using
readme-slacker
command will default to copy formatted text to clipboard - using
readme-slacker -f
command will createSLACKER.txt
file
- using
- The clipboard or contents of the txt file can be pasted into a Slack post
- Slack will detect Slack-specific formatting and will ask if you want to apply them
- Select Apply styles
- Pull changes from the repository
- Uninstall with
sudo npm uninstall -g
- Reinstall with
sudo npm install -g
- Removes stock emojis
- Adds title line
- Adds Slack formatting for bolding the headers
- Adds class emojis to every
- Acceptance Criteria
- Expected Behavior
- 'Work with a partner to add comments..'
- Bonus
- Add emoji packs
- Leveraging Slack API to automatically post formatted message