We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ecb8a commit 1dfb5f4Copy full SHA for 1dfb5f4
Types/Turtle/Lucky.ps1
@@ -34,4 +34,9 @@ $luckyArgs = @(
34
)
35
36
$id = $luckyArgs -join '-'
37
-$this | turtle id $id title $($luckyArgs -join ' ') @luckyArgs
+$title = $luckyArgs -join ' '
38
+if ($this.id -notmatch 'turtle-?\d+') {
39
+ $id = $this.id, $id -join '-'
40
+ $title = $this.title, $title -join ' '
41
+}
42
+$this | turtle id $id title $title @luckyArgs
0 commit comments