-function Get-MyDashboard() {
- $MyDashboard = New-UDDashboard -Title "Hello, World" -Content {
- New-UDCard -Title "Hello, Universal Dashboard" -Content {
- New-UDParagraph -Text 'I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.'
- } -Links @(
- New-UDLink -Text 'This is a link' -Url '#!'
- New-UDLink -Text 'This is a link' -Url '#!'
- ) -Size 'small'
- }
- return $MyDashboard
+function Get-MyDashBoard() {
+ Write-Host "## Todo items for today:"
+ Measure-JournalTodos
+ chart
+ Get-JournalTodayTodos
+ Write-Host "## Agenda for today:"
+ Get-JournalAgenda
+ Write-Host "## GitHub Issues Assigned"
+ Show-GHMine -days 6
+ Write-Host "## GitHub Issues with no milestone. (Show-GHNoMilestone)"
+ Get-GHNoMilestone -repository SecOps-Tools | Measure-Object -Property updated_at -Min -Max
+ Write-Host "Use command 'todo' to list more tasks."
+ Write-Host "Use command 'chart' to show todo item progress."
+ Write-Host "Use command 'agenda' to list the plan for today."
}
-function Inovke-MyDashboard() {
- Start-UDDashboard -Port 1000 -Dashboard Get-MyDashboard
- Write-Host "http://localhost:1000"
-}
-
-Export-ModuleMember -Function Invoke-MyDashboard
\ No newline at end of file
+Export-ModuleMember -Function Get-MyDashboard
\ No newline at end of file