ionide / Waypoint

Opinionated solution template for building F# OSS libraries and tools.
https://ionide.io/Libraries/waypoint.html
MIT License
74 stars 13 forks source link

#26: Add replacement parameters for TODO items #30

Closed kMutagene closed 4 years ago

kMutagene commented 4 years ago

This PR adds optional parameters to pass to dotnet new Waypoint that fill the TODO placeholders in build.fsx and licence.md.

here's an example output:

PS C:\Users\kevin\source\repos\kMutagene\wptest> dotnet new Waypoint --summary "test summary pls ignore" --authors "meem, soos" --packageTags "some tags m8" --copyright "me" --gitOwner "dueMcDudeson" --force

generated build.fsx:

image

This also generates a nice --help output:

PS C:\Users\kevin\source\repos\kMutagene\wptest> dotnet new Waypoint --help

image

Krzysztof-Cieslak commented 4 years ago

Awesome. 😍

One more TODO is in the docs, can also provide the setting for it? - https://github.com/ionide/Waypoint/blob/master/Content/docs/loaders/globalloader.fsx#L26

kMutagene commented 4 years ago

Yeah sorry, missed that one somehow. Should be coming in any minute.

Krzysztof-Cieslak commented 4 years ago

Awesome, thanks a lot!

kMutagene commented 4 years ago

No worries, happy to help such a cool project!