Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hlaueriksson/Community.PowerToys.Run.Plugin.Templates
These dotnet new templates simplify creating PowerToys Run plugin projects and solutions.
https://github.com/hlaueriksson/Community.PowerToys.Run.Plugin.Templates
microsoft-powertoys plugin plugins powertoys powertoys-run powertoys-run-plugin
Last synced: 3 months ago
JSON representation
These dotnet new templates simplify creating PowerToys Run plugin projects and solutions.
- Host: GitHub
- URL: https://github.com/hlaueriksson/Community.PowerToys.Run.Plugin.Templates
- Owner: hlaueriksson
- License: mit
- Created: 2024-07-23T17:07:18.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T15:09:17.000Z (4 months ago)
- Last Synced: 2024-07-29T22:55:10.389Z (3 months ago)
- Topics: microsoft-powertoys, plugin, plugins, powertoys, powertoys-run, powertoys-run-plugin
- Language: C#
- Homepage:
- Size: 431 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-powertoys-run-plugins - Community.PowerToys.Run.Plugin.Templates - `dotnet new` templates for community plugins. (Resources)
README
# Community.PowerToys.Run.Plugin.Templates
[![build](https://github.com/hlaueriksson/Community.PowerToys.Run.Plugin.Templates/actions/workflows/build.yml/badge.svg)](https://github.com/hlaueriksson/Community.PowerToys.Run.Plugin.Templates/actions/workflows/build.yml)
[![Community.PowerToys.Run.Plugin.Templates](https://img.shields.io/nuget/v/Community.PowerToys.Run.Plugin.Templates.svg?label=Community.PowerToys.Run.Plugin.Templates)](https://www.nuget.org/packages/Community.PowerToys.Run.Plugin.Templates)These `dotnet new` templates simplify creating PowerToys Run plugin projects and solutions.
![dotnet new list PowerToys](https://raw.githubusercontent.com/hlaueriksson/Community.PowerToys.Run.Plugin.Templates/main/terminal.png)
## Installation
Install:
```cmd
dotnet new install Community.PowerToys.Run.Plugin.Templates
```Update installed templates:
```cmd
dotnet new update
```Uninstall:
```cmd
dotnet new uninstall Community.PowerToys.Run.Plugin.Templates
```## Usage
Help:
```cmd
dotnet new ptrun-sln --help
dotnet new ptrun-proj --help
```Create a solution in the output directory `MyPlugin`:
```cmd
dotnet new ptrun-sln -o MyPlugin
```Create a directory and then a solution:
```cmd
mkdir MyPlugin
cd MyPlugin
dotnet new ptrun-sln
```Create a project in the output directory `Community.PowerToys.Run.Plugin.MyPlugin`:
```cmd
dotnet new ptrun-proj -o Community.PowerToys.Run.Plugin.MyPlugin
```Plugin author:
```cmd
dotnet new ptrun-sln --plugin-author octocat
```Visual Studio:
![Visual Studio - Create a new project](https://raw.githubusercontent.com/hlaueriksson/Community.PowerToys.Run.Plugin.Templates/main/vs-new-project.png)
## Output
With `ptrun-sln`:
```
MyPlugin
| MyPlugin.sln
|
+---Community.PowerToys.Run.Plugin.MyPlugin
| | Community.PowerToys.Run.Plugin.MyPlugin.csproj
| | Main.cs
| | plugin.json
| |
| \---Images
| myplugin.dark.png
| myplugin.light.png
|
\---Community.PowerToys.Run.Plugin.MyPlugin.UnitTests
Community.PowerToys.Run.Plugin.MyPlugin.UnitTests.csproj
MainTests.cs
```![Visual Studio](https://raw.githubusercontent.com/hlaueriksson/Community.PowerToys.Run.Plugin.Templates/main/vs.png)
With `ptrun-proj`:
```
Community.PowerToys.Run.Plugin.MyPlugin
| Community.PowerToys.Run.Plugin.MyPlugin.csproj
| Main.cs
| plugin.json
|
\---Images
myplugin.dark.png
myplugin.light.png
```## Disclaimer
These are not official Microsoft PowerToys templates.