Permalink
Browse files

add alias to task documentation and format as list to allow for wide …

…descriptions
  • Loading branch information...
1 parent 0d87ff3 commit 20a65d8c0e69766466a3202ff708a64fac811714 @mwrock committed Jun 26, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 psake.psm1
View
@@ -616,11 +616,12 @@ function Write-Documentation {
$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 Write-TaskTimeSummary($invokePsakeDuration) {

0 comments on commit 20a65d8

Please sign in to comment.