Skip to content

Commit 6d7cb84

Browse files
authored
Merge pull request #125 from deadlydog/new-tip/issue-124
Tip: Submit your own tiPS tips from the web form
2 parents 2c4f6c4 + 8bcacec commit 6d7cb84

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
$tip = [tiPS.PowerShellTip]::new()
2+
$tip.CreatedDate = [DateTime]::Parse('2025-04-04')
3+
$tip.Title = 'Submit your own tiPS tips from the web form'
4+
$tip.TipText = @'
5+
You can now easily submit your own PowerShell tips for the tiPS module right from the GitHub repository website! There is a new GitHub issue template called "PowerShell tip submission". When you open an issue you will be prompted for your tip's information, such as the tip title, text, category, example code, and URLs. You can even enter your GitHub email address so that you are tagged as a co-author on the commit, allowing you to still get credit in the git history.
6+
7+
This tip was submitted using a GitHub issue. Visit the website and submit a tip today!
8+
'@
9+
$tip.Example = @'
10+
Start-Process 'https://github.com/deadlydog/PowerShell.tiPS/issues/new?template=new_powershell_tip.yml'
11+
'@
12+
$tip.Urls = @('https://github.com/deadlydog/PowerShell.tiPS/issues/new?template=new_powershell_tip.yml','https://github.com/deadlydog/PowerShell.tiPS#-contribute-a-tip')
13+
$tip.Category = [tiPS.TipCategory]::Module # Community, Editor, Module, NativeCmdlet, Performance, Security, Syntax, Terminal, or Other.
14+
$tip.Author = 'Daniel Schroeder (deadlydog)' # Optional. Get credit for your tip. e.g. 'Daniel Schroeder (deadlydog)'.
15+
#$tip.ExpiryDate = [DateTime]::Parse('2024-10-30') # Optional. If the tip is not relevant after a certain date, set the expiration date. e.g. Announcing a conference or event.
16+
17+
# Tip submitted via GitHub issue workflow.

0 commit comments

Comments
 (0)