Utils/pwd.ps1
|
Register-GnuUtil @{ Name = 'pwd' Category = 'Paths and names' Synopsis = 'Print name of current/working directory.' Usage = @('pwd [OPTION]...') Description = @('Print the full filename of the current working directory.') Options = @( @{ Short = 'L'; Long = 'logical'; Key = 'mode'; Value = 'logical'; Help = 'use PWD from environment, even if it contains symlinks' } @{ Short = 'P'; Long = 'physical'; Key = 'mode'; Value = 'physical'; Help = 'avoid all symlinks' } ) Notes = @( 'If no option is specified, -P is assumed (like GNU coreutils pwd).', 'PowerShell note: the working directory is the current PowerShell file system location.' ) } |