libs/psparagraph/libs/New-Paragraph.psm1
using module '.\intent_type.psm1' <# .SYNOPSIS New-Indent is a function that generates readable text by indenting it, similating the effect of a paragraph in a book. .DESCRIPTION New-Indent is a function that generates readable text by indenting it, similating the effect of a paragraph in a book. .PARAMETER position The position at which to start the indent. .PARAMETER indent The number of spaces to indent. .PARAMETER string The string to be indented. .EXAMPLE PS C:\> New-Indent -position 10 -indent 2 -string "This is a test string" This example shows how to use the New-Indent function. .INPUTS System.Int32, System.String .OUTPUTS System.String .NOTES Additional information about the function. .LINK https://github.com/sgkens/New-Paragraph #> function New-Paragraph() { [CmdletBinding()] [OutputType([string])] param( [ Parameter( Mandatory = $true ) ][int]$position, [ Parameter( Mandatory = $true ) ][int]$indent, [ Parameter( Mandatory = $true ) ] [string]$string ) return [Indenter]::NewIndent($position, $indent, $string) } Export-ModuleMember -Function New-Paragraph |