Skip to content

felipegodias/PoshTimeTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logo

PoshTimeTracker

Requirements

  • PowerShell 7.x
winget install Microsoft.PowerShell
Install-Module -Name powershell-yaml -AllowClobber -Scope CurrentUser -Force

Install

git clone git@github.com:felipegodias/PoshTimeTracker.git
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

Powershell Profile

Import-Module <REPOSITORY_PATH>/PoshTimeTracker.psm1 -ArgumentList <ENTRIES_SAVE_FILE_PATH>
Import-Module <REPOSITORY_PATH>/PoshJiraTimeTrackerPublisher.psm1 -ArgumentList <CONFIG_FILE_PATH>

PoshTimeTracker

Start-Timer (sat)

Start-Timer [-Tag <TAG>] [-Description <DESCRIPTION>]

Stop-Timer (stt)

Stop-Timer

Get-TimerEntry (gte)

Get-TimerEntry [-Tag <TAG>] [-From <FROM>] [-To <TO>]

Remove-TimerEntry (rte)

Remove-TimerEntry [-Id <ID>]

PoshJiraTimeTrackerPublisher

JiraConfig.yaml

---
JiraUri: "https://<ORGANIZATION>.atlassian.net"
JiraUser: "<JIRA_USER>"
# https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
JiraApiKey: "<API_KEY>" # Optional! If not set the publish cmdlet will prompt the user for the credentials.

Publish-TimerEntryToJira (pbtej)

Publish-TimerEntryToJira

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published