Skip to content

Commit

Permalink
2023-11-18 22:54:19
Browse files Browse the repository at this point in the history
  • Loading branch information
uidHUB committed Nov 18, 2023
1 parent 5a3b383 commit 0aa7f9e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions PkgStore.Kernel.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ PowerShellVersion = '7.2'
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = 'Copy-Data', 'Move-Data', 'New-Data', 'Remove-Data', 'Test-Data',
FunctionsToExport = 'Copy-Data', 'Move-Data', 'New-Data', 'Remove-Data', 'Test-Data',
'Test-Module', 'Write-Msg'

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
Expand All @@ -96,7 +96,7 @@ PrivateData = @{
PSData = @{

# Tags applied to this module. These help with module discovery in online galleries.
Tags = 'pwsh','kernel'
Tags = 'pwsh', 'kernel'

# A URL to the license for this module.
LicenseUri = 'https://github.com/pkgstore/pwsh-kernel/blob/main/LICENSE'
Expand Down
Empty file added Private/.gitkeep
Empty file.
6 changes: 3 additions & 3 deletions Public/Copy-Data.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ function Copy-Data() {
#>

param (
[Alias('S')][string]$Src,
[Alias('D')][string]$Dst
[Alias('S')][string]$SRC,
[Alias('D')][string]$DST
)

Copy-Item -LiteralPath "${Src}" -Destination "${Dst}" -Force
Copy-Item -LiteralPath "${SRC}" -Destination "${DST}" -Force
}
6 changes: 3 additions & 3 deletions Public/Move-Data.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ function Move-Data() {
#>

param (
[Alias('S')][string]$Src,
[Alias('D')][string]$Dst
[Alias('S')][string]$SRC,
[Alias('D')][string]$DST
)

Move-Item -LiteralPath "${Src}" -Destination "${Dst}" -Force
Move-Item -LiteralPath "${SRC}" -Destination "${DST}" -Force
}
2 changes: 1 addition & 1 deletion Public/Test-Module.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function Test-Module() {
#>

Param(
[Parameter(Mandatory)][Alias('N')][string[]]$Names
[Alias('N')][string[]]$Names
)

$Names | ForEach-Object {
Expand Down
4 changes: 2 additions & 2 deletions Public/Write-Msg.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ function Write-Msg() {
#>

param (
[Alias('T')][string]$Type,
[Alias('M')][string]$Message,
[string]$Type,
[string]$Message,
[Alias('A')][string]$Action = 'Continue'
)

Expand Down

0 comments on commit 0aa7f9e

Please sign in to comment.