VelaShell.Plugin.Templates 1.0.0

dotnet new install VelaShell.Plugin.Templates@1.0.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

VelaShell.Plugin.Templates

VelaShell 插件工程的 dotnet new 模板。

dotnet new install VelaShell.Plugin.Templates
模板 短名 内容
VelaShell plugin velaplugin 入口类 + 一条命令 + plugin.json,可直接出 .vpx
VelaShell plugin with a panel velaplugin-ui 上面的一切 + 一个 Avalonia 面板(AXAML)
# 基础插件(id = acme.snippets)
dotnet new velaplugin -n Snippets --publisher acme --authorName "Your Name"

# 带面板、跑在独立进程里
dotnet new velaplugin-ui -n Dashboard --publisher acme --hostMode isolated
参数 默认 说明
--publisher acme 插件 id 的发布者段(小写)
--authorName 插件管理页展示的作者(author 是模板引擎的保留名,故加了后缀)
--hostMode inProcess inProcess / isolated
--sdkVersion 当前版本 引用的 VelaShell.PluginSdk.Build 版本

插件 id 由 --publisher-n 拼出并全部转小写(acme + Snippetsacme.snippets)。 发布后不要再改 id:它同时是命令 id 前缀与插件私有数据/机密的命名空间。

卸载模板:dotnet new uninstall VelaShell.Plugin.Templates

完整开发指南:https://github.com/joesdu/VelaShell/blob/main/docs/plugins/dev-guide.md

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 43 8/18/2026
1.0.0-preview.1 40 8/18/2026