Add open-toggl-track.ps1

This commit is contained in:
Markus Fleschutz
2021-10-25 07:22:12 +02:00
parent dcb11e4c6e
commit 5e2bc0c609
5 changed files with 59 additions and 2 deletions

View File

@ -4,7 +4,7 @@ This script exports all PowerShell scripts to Serenade to execute them by voice.
## Parameters
```powershell
export-to-serenade.ps1 [[-WakeWord] <String>] [[-FilePattern] <String>] [[-TargetFile] <String>] [<CommonParameters>]
export-to-serenade.ps1 [[-WakeWord] <String>] [[-FilePattern] <String>] [[-Application] <String>] [[-TargetFile] <String>] [<CommonParameters>]
-WakeWord <String>
Specifies the wakeword (none by default)
@ -24,11 +24,20 @@ export-to-serenade.ps1 [[-WakeWord] <String>] [[-FilePattern] <String>] [[-Targe
Accept pipeline input? false
Accept wildcard characters? false
-Application <String>
Specifies the application to be used
Required? false
Position? 3
Default value terminal
Accept pipeline input? false
Accept wildcard characters? false
-TargetFile <String>
Specifies the target file ("$HOME/.serenade/scripts/PowerShell.js" by default)
Required? false
Position? 3
Position? 4
Default value "$HOME/.serenade/scripts/PowerShell.js"
Accept pipeline input? false
Accept wildcard characters? false

26
Docs/open-toggl-track.md Normal file
View File

@ -0,0 +1,26 @@
## open-toggl-track.ps1 - Opens Toggl Track
This script starts the Web browser and opens Toggl Track
## Parameters
```powershell
open-toggl-track.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./open-toggl-track
```
## Notes
Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of open-toggl-track.ps1*