What Is This?
In order to make use of this template, you will need to have the Dotnet Core SDK (version 2.2.100 or above) installed on your development machine.
While not absolutely necessary, it is strongly recommended to have the Stream Deck Software installed, to be able to perform some integration testing of your plugin.
Install Project Template
From File System
Installing the template from your filesystem is useful for local testing of the template itself. If you are actively working on the template making changes, this is the route you need to use.
To install, run the following command from the root of the repository.
dotnet new -i Templates/StreamDeck.PluginTemplate.Csharp
To pick up any changes you have made to the template source, you must uninstall the template and reinstall it.
To uninstall, run the following command from the root of the respository.
dotnet new -u Templates/StreamDeck.PluginTemplate.Csharp
dotnet new -u $PWD/Templates/StreamDeck.PluginTemplate.Csharp
dotnet new -i StreamDeckPluginTemplate - OR - Install-Package StreamDeckPluginTemplate [-Version x.y.zzz]
Using the Template
Once the template is installed, open a terminal and create a new project.
dotnet new streamdeck-plugin -n FirstPlugin
Or create a directory in a location of your choice, change to that directory and run the command, which will inherit the directory name as the project name.
dotnet new streamdeck-plugin