title: How to pass currently selected object in Source Control Explorer to external tool?
body: <p>I am trying to add an external tool that I wrote to the context menu of source control explorer but I need to pass the currently selected object as an argument to the executable.</p>
  
  <p>In Visual Studio, Tools -> External Tools...
  There is an option for Arguments, I have tried most of the options in the menu accessed by clicking the arrow next to the text box. But they seem to refer to info about the tool itself, not getting information from Source Control Explorer
  <a href="https://ibb.co/k0LspxZ" rel="nofollow noreferrer"><img src="https://i.ibb.co/ft3zb2J/context-menu.png" alt="Screenshot"></a></p>
  
  <p>Honestly, I'm surprised I even got this far with this because the research I did was years old</p>
  
  <p>I had to edit the program that I wrote which is what the tool runs because it was throwing errors because it was not getting correct input. Currently, I've had to comment out all functionality and the program now simply re-prints the arguments and waits for input.</p>
  
  <p>Thanks for your help</p>