Permalink
Browse files

Merge pull request #43 from mwrock/master

Add alias to task documentation and format as list to allow for wide descriptions
  • Loading branch information...
2 parents fd105dc + 20a65d8 commit e50764311dc7f8a992a81b336965777372b07ad2 @JamesKovacs JamesKovacs committed Jan 18, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 psake.psm1
View
@@ -696,11 +696,12 @@ function WriteDocumentation {
$task = $currentContext.tasks.$_
new-object PSObject -property @{
Name = $task.Name;
+ Alias = $task.Alias;
Description = $task.Description;
"Depends On" = $task.DependsOn -join ", "
Default = if ($defaultTaskDependencies -contains $task.Name) { $true }
}
- } | sort 'Name' | format-table -autoSize -property Name,Description,"Depends On",Default
+ } | sort 'Name' | format-list -property Name,Alias,Description,"Depends On",Default
}
function WriteTaskTimeSummary($invokePsakeDuration) {

0 comments on commit e507643

Please sign in to comment.