PoshCode / ModuleBuilder

A PowerShell Module to help scripters write, version, sign, package, and publish.
MIT License
445 stars 54 forks source link

Dotnet template "ModuleBuilderModule" #77

Closed bravo-kernel closed 4 years ago

bravo-kernel commented 4 years ago

Finally got to this, hereby the dotnet template, closes #64.

To test locally as an end-user

git clone git@github.com:bravo-kernel/ModuleBuilder.git
cd ModuleBuilder
git checkout dotnet-template
dotnet new -i ./
dotnet new  # to see it's in the list
dotnet new ModuleBuilderModule --help # to see author and command line options

cd ..
dotnet new ModuleBuilderModule -o outputFolder --moduleName MyGeneratedModule  --allow-scripts yes
cd outputFolder

Build-Module .\Source\

TODO

I've already been using this to mass produce modules. I think this is the bridge that will make ModuleBuilder usable for the masses. Please let me know what you think so we can get this out there.

Jaykul commented 4 years ago

I'm so slow. I will review tonight or tommorrow.

bravo-kernel commented 4 years ago

@Jaykul that would be cool, I hope you can approach this as "first make it work, then make it better" basis. I see this template complementing https://docusaurus-powershell.netlify.com/ (and vice-versa).

bravo-kernel commented 4 years ago

We can rename shortName to whatever we like as long as there is consensus, this name just came up in the original discussion #64 . This is how it looks in the list atm:

image

Jaykul commented 4 years ago

This looks pretty good. I'm going to merge it, and then improve :-)

bravo-kernel commented 4 years ago

Awesome, more to come, let’s make this happen :)