Skip to content

Commit 0f8060a

Browse files
feat: Giving Credit ( Fixes #79 )
Adding CreditTo and CreditToLink
1 parent 8a19e39 commit 0f8060a

File tree

2 files changed

+103
-1
lines changed

2 files changed

+103
-1
lines changed
Lines changed: 90 additions & 0 deletions
Loading

Commands/Export-4BitCSS.ps1

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,19 @@ function Export-4BitCSS
172172
[Parameter(ValueFromPipelineByPropertyName)]
173173
[ComponentModel.DefaultBindingProperty("selectionBackground")]
174174
[string]
175-
$SelectionBackground,
175+
$SelectionBackground,
176+
177+
# If provided, will add a --creditTo variable containing the name of the author
178+
[Parameter(ValueFromPipelineByPropertyName)]
179+
[ComponentModel.DefaultBindingProperty("creditTo")]
180+
[string]
181+
$CreditTo,
182+
183+
# If provided, will add a --creditToLink containing a link to the author's page or repo.
184+
[Parameter(ValueFromPipelineByPropertyName)]
185+
[ComponentModel.DefaultBindingProperty("creditToLink")]
186+
[string]
187+
$CreditToLink,
176188

177189
# The output path. If not specified, will output to the current directory.
178190
[string]

0 commit comments

Comments
 (0)