![git sapien powershell studio git sapien powershell studio](https://static.packt-cdn.com/products/9781785286858/graphics/4337_11_16.jpg)
The custom commands allow you to react to files or folders. When you open a file that is contained in the folder, the custom tools menu will display the localized folder commands as well as the global commands. In addition, you could use the localized commands to replicate a source control solution’s repository to a remote location.įor example, the following CustomMenu.inf is added to the target folder “My Documents\SAPIEN\Scripts”: For example, you may use a particular source control solution for Folder A and another for Folder B. In this example GIT is used, but any command line tool will work including the command line tools you create with PowerShell Studio’s script to exe packager.Īfter creating or altering the CustomMenu.inf, you will need to restart PowerShell Studio in order to see the new commands:Īnother useful feature of the custom menu is the ability to create localized commands for specific folders. You can add a global set of commands to the custom tool menu by creating a INF file in PowerShell Studio’s application data folder:Ĭ:\ProgramData\SAPIEN\PowerShell Studio 2012\CustomMenu.inf The new feature enables you to integrate virtually any solution that provides a command line tool. The custom tool menu allows you to customize and execute command lines tools at the click of a button.
![git sapien powershell studio git sapien powershell studio](https://blogs.sap.com/wp-content/uploads/2020/10/0-0-Setup.png)
Our solution to the problem is the new custom tool menu: We’ve used this common factor to resolve the problem. One thing in common all the source controls solutions previously mentioned have is command line tools. The varying nature of these tools could potentially make the integration outdated fairly quickly. The difficulty of supporting all these various source control solutions is that they all have different APIs and change over time. Similar to PrimalScript 2012, we received requests to add support for GIT, Mercurial, and Subversion in PowerShell Studio 2012.