nightroman / Invoke-Build

Build Automation in PowerShell

Home Page:https://github.com/nightroman/Invoke-Build/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add default value to property

majkinetor opened this issue · comments

I.e.

param ( 
    $aEnvironment = (property ENVIRONMENT 'Development')
)

Hi @majkinetor . Is this a question or suggestion? It's not clear, sorry. Especially because property already supports default values, exactly as you show in the sample.

Really ? OK sorry then :) Perhaps I had a typo or something ...

I also looked into tests and there wasn't any :)