Updated docs
This commit is contained in:
3
MycroForge.Package.PluginTemplate/.gitignore
vendored
3
MycroForge.Package.PluginTemplate/.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
bin/
|
||||
obj/
|
||||
templates/
|
||||
!templates/.gitkeep
|
||||
!templates/.gitkeep
|
||||
MycroForge.Package.PluginTemplate.sln
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<Authors>Donné Napo</Authors>
|
||||
<Description>Template to use when creating a plugin for the MycroForge CLI.</Description>
|
||||
<PackageTags>dotnet-new;templates;</PackageTags>
|
||||
<PackageProjectUrl>https://github.com/mdnapo/myrcoforge</PackageProjectUrl>
|
||||
<PackageProjectUrl>https://git.devdisciples.com/devdisciples/mycroforge</PackageProjectUrl>
|
||||
|
||||
<PackageType>Template</PackageType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
|
||||
@@ -9,7 +9,7 @@ https://learn.microsoft.com/en-us/dotnet/core/tutorials/cli-templates-create-tem
|
||||
`dotnet pack`
|
||||
|
||||
### Push to local nuget
|
||||
`dotnet nuget push ./bin/Release/MycroForge.Package.PluginTemplate.1.0.0.nupkg --source http://localhost:5555/v3/index.json --api-key password`
|
||||
`dotnet nuget push bin/Release/MycroForge.Package.PluginTemplate.1.0.0.nupkg --source gitea`
|
||||
|
||||
### Install template package from local nuget
|
||||
`dotnet new install MycroForge.Package.PluginTemplate --nuget-source http://localhost:5555/v3/index.json --force`
|
||||
`dotnet new install MycroForge.Package.PluginTemplate --nuget-source gitea`
|
||||
|
||||
Reference in New Issue
Block a user