Cmdlets/src/XpandPosh.Cmdlets/PublishGitHubRelease/New-GithubReleaseNotesTemplate.cs

using System.Management.Automation;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
using XpandPosh.CmdLets;
 
namespace XpandPosh.Cmdlets.PublishGitHubRelease{
    [CmdletBinding]
    [Cmdlet(VerbsCommon.New, "GithubReleaseNotesTemplate")]
    [OutputType(typeof(IReleaseNotesTemplate))]
    public class NewGithubReleaseNotesTemplate : XpandCmdlet{
         
        protected override Task ProcessRecordAsync(){
            return Observable.Return(ReleaseNotesTemplate.Default)
                .HandleErrors(this,"")
                .WriteObject(this)
                .ToTask();
        }
    }
}