Skip to content

Chaitanya4/CodeDisc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeDisc

A slack integration for discussing code present on GitHub repository.

Commands

/codedisc [github file url] - Enter the github file URL about whose content you want to have discussion with your teammates.(required to be run first)

/showlines [startlinenumber-endlinenumber] - It shows code snippet starting from startlinenumber upto the endlinenumber.

/refer [github file url] [startlinenumber-endlinenumber] - Use it to find the specific code snippet inside the github file. It shows code snippet starting from startlinenumber upto the endlinenumber of the [github file url].

/find [keyword] - It find the lines inside the github file that contains the mentioned keyword.

Installation

Add to Slack

Manual Set up

  1. Deploy to Heroku
  2. Remember that url
  3. Go to your slack team's slash commands configuration
  4. Add 4 commands, each pointing to these url respectively:
  • codedisc, [your-deployed-heroku-url]/codereview
  • showlines, [your-deployed-heroku-url]/showline
  • refer, [your-deployed-heroku-url]/refer
  • find, [your-deployed-heroku-url]/search
  1. Configure other options as you see fit, and you are done!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors