Skip to content

Commit

Permalink
Add doc strings to Copy-FilePath
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanGreve committed Dec 28, 2024
1 parent 879e7db commit 3d18767
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Public/Copy-FilePath.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
function Copy-FilePath {
<#
.SYNOPSIS
Copies the full path of a file to clipboard.
.DESCRIPTION
Copies the full path of a file to clipboard.
Takes any string for file paths that exists.
.PARAMETER Path
Specifies the file path.
.INPUTS
None. You can't pipe objects to Copy-FilePath.
.EXAMPLE
PS> Copy-FilePath ./src/README.md
Copies the full path of the README.md file to clipboard.
.OUTPUTS
None. This function does not produce any output
#>
[OutputType([void])]
param (
[Parameter(Position = 0, Mandatory)]
Expand Down

0 comments on commit 3d18767

Please sign in to comment.