PsBash.psd1
|
# # Module manifest for module 'PsBash' # # Generated by: Andy Brummer # # Generated on: 04/02/2026 # @{ # Script module or binary module file associated with this manifest. RootModule = 'PsBash.psm1' # Version number of this module. ModuleVersion = '0.8.14' # ID used to uniquely identify this module GUID = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890' # Author of this module Author = 'Andy Brummer' # Company or vendor of this module CompanyName = 'Unknown' # Copyright statement for this module Copyright = '(c) Andy Brummer. All rights reserved.' # Description of the functionality provided by this module Description = 'Real bash commands for PowerShell with typed objects. 76 commands (ls, grep, sort, awk, sed, jq, find, ps, du, tar, etc.) that accept real bash flags and return structured PowerShell objects while producing identical text output. Pipeline bridge pattern preserves typed objects through grep, sort, head, tail.' # Supported PSEditions CompatiblePSEditions = 'Core' # Minimum version of the PowerShell engine required by this module PowerShellVersion = '7.0' # Name of the PowerShell host required by this module # PowerShellHostName = '' # Minimum version of the PowerShell host required by this module # PowerShellHostVersion = '' # Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. # DotNetFrameworkVersion = '' # Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. # ClrVersion = '' # Processor architecture (None, X86, Amd64) required by this module # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module # RequiredModules = @() # Assemblies that must be loaded prior to importing this module # RequiredAssemblies = @() # Script files (.ps1) that are run in the caller's environment prior to importing this module. # ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module # TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module FormatsToProcess = 'PsBash.Format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess # 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 = 'Set-BashErrorMode', 'Invoke-ProcessSub', 'Invoke-BashEcho', 'Invoke-BashPrintf', 'Get-BashPlatform', 'New-BashObject', 'Emit-BashLine', 'ConvertFrom-BashArgs', 'Expand-EscapeSequences', 'New-FlagDefs', 'Invoke-BashLs', 'Get-BashFileInfo', 'Format-BashSize', 'Format-BashDate', 'Format-LsLine', 'Get-LsDisplayName', 'Format-LsGrid', 'ConvertTo-PermissionString', 'Invoke-BashCat', 'Get-BashText', 'Invoke-BashGrep', 'Invoke-BashSort', 'ConvertFrom-HumanNumeric', 'Compare-Version', 'ConvertFrom-MonthName', 'Invoke-BashHead', 'Invoke-BashTail', 'Invoke-BashWc', 'Invoke-BashFind', 'Invoke-BashStat', 'Format-StatString', 'Invoke-BashCp', 'Invoke-BashMv', 'Invoke-BashRm', 'Invoke-BashMkdir', 'Invoke-BashRmdir', 'Invoke-BashTouch', 'Invoke-BashLn', 'Invoke-BashPs', 'Get-LinuxProcEntry', 'Get-DotNetProcEntry', 'Format-PsAuxLine', 'Format-PsCustomLine', 'Invoke-BashSed', 'ConvertFrom-SedExpression', 'Test-SedAddress', 'Invoke-BashAwk', 'ConvertFrom-AwkProgram', 'Split-AwkFields', 'Test-AwkPattern', 'Resolve-AwkExpression', 'Invoke-AwkAction', 'Format-AwkPrintf', 'Resolve-AwkStringFunc', 'Invoke-BashCut', 'Invoke-BashTr', 'Invoke-BashUniq', 'Invoke-BashRev', 'Invoke-BashNl', 'Invoke-BashDiff', 'Invoke-BashComm', 'Invoke-BashColumn', 'Invoke-BashJoin', 'Invoke-BashPaste', 'Invoke-BashTee', 'Invoke-BashXargs', 'Invoke-BashJq', 'ConvertTo-JqJson', 'Invoke-JqFilter', 'Invoke-BashDate', 'Convert-DateFormat', 'Invoke-BashSeq', 'Invoke-BashExpr', 'Invoke-BashDu', 'Invoke-BashTree', 'Invoke-BashEnv', 'Invoke-BashBasename', 'Invoke-BashDirname', 'Invoke-BashPwd', 'Invoke-BashHostname', 'Invoke-BashWhoami', 'Invoke-BashUname', 'Invoke-BashFold', 'Invoke-BashExpand', 'Invoke-BashUnexpand', 'Invoke-BashStrings', 'Invoke-BashSplit', 'Invoke-BashTac', 'Invoke-BashBase64', 'Invoke-BashMd5sum', 'Invoke-BashSha1sum', 'Invoke-BashSha256sum', 'Invoke-BashFile', 'Invoke-BashRg', 'Invoke-BashGzip', 'Invoke-BashTar', 'Invoke-BashYq', 'ConvertFrom-SimpleYaml', 'ConvertFrom-YamlValue', 'ConvertTo-SimpleYaml', 'Invoke-BashXan', 'Register-BashCompletions', 'Test-BashHelpFlag', 'Show-BashHelp', 'Invoke-BashSleep', 'Invoke-BashTime', 'Invoke-BashWhich', 'Invoke-BashAlias', 'Invoke-BashTrap', 'Invoke-BashReadlink', 'Invoke-BashMktemp', 'Invoke-BashType', 'Invoke-BashBash', 'Invoke-BashRedirect', 'Invoke-BashBackground', 'Invoke-BashWait', 'Invoke-BashJobs', 'Invoke-BashFg', 'Invoke-BashBg', 'Invoke-BashEval', 'Invoke-BashRead', 'Invoke-BashMapfile', 'Invoke-BashShift', 'Invoke-BashRealpath', 'Invoke-BashCommand', 'Invoke-BashSource', 'Invoke-BashUnset', 'Invoke-BashPushd', 'Invoke-BashPopd', 'Invoke-BashDirs', 'Invoke-BashYes', 'Invoke-BashTput', 'Invoke-BashShopt', 'Invoke-BashKill', 'Invoke-BashTest', 'Test-BashCondition', 'Invoke-BashLet', 'Invoke-BashId', 'Invoke-BashShuf' # 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. CmdletsToExport = @() # Variables to export from this module # VariablesToExport = @() # Aliases 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 aliases to export. AliasesToExport = 'echo', 'printf', 'ls', 'cat', 'grep', 'sort', 'head', 'tail', 'wc', 'find', 'stat', 'cp', 'mv', 'rm', 'mkdir', 'rmdir', 'touch', 'ln', 'ps', 'sed', 'awk', 'cut', 'tr', 'uniq', 'rev', 'nl', 'diff', 'comm', 'column', 'join', 'paste', 'tee', 'xargs', 'jq', 'date', 'seq', 'expr', 'du', 'tree', 'env', 'printenv', 'basename', 'dirname', 'pwd', 'hostname', 'whoami', 'uname', 'fold', 'expand', 'unexpand', 'strings', 'split', 'tac', 'base64', 'md5sum', 'sha1sum', 'sha256sum', 'file', 'rg', 'gzip', 'gunzip', 'zcat', 'tar', 'yq', 'xan', 'sleep', 'time', 'which', 'unalias', 'readlink', 'mktemp', 'type', 'bash', 'wait', 'jobs', 'fg', 'bg', 'shift', 'realpath', 'command', 'source', 'unset', 'pushd', 'popd', 'dirs', 'yes', 'tput', 'shopt', 'kill', 'test', 'let', 'id', 'shuf', 'balias', 'install' # DSC resources to export from this module # DscResourcesToExport = @() # List of all modules packaged with this module # ModuleList = @() # List of all files packaged with this module # FileList = @() # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. PrivateData = @{ PSData = @{ Tags = @('bash', 'linux', 'cross-platform', 'cli', 'grep', 'awk', 'sed', 'jq', 'pipeline', 'typed-objects', 'powershell-module', 'devops', 'unix', 'shell', 'commands', 'windows', 'macos', 'PSEdition_Core') LicenseUri = 'https://github.com/standardbeagle/ps-bash/blob/main/LICENSE' ProjectUri = 'https://github.com/standardbeagle/ps-bash' # ReleaseNotes of this module ReleaseNotes = 'v0.8.14: Parse-time eval — `eval ARG` is now resolved by PsEmitter at transpile time: arg word parts are reconstructed into the bash source eval would see, which is re-parsed and emitted inline. Static bodies (literals, quoted literals, variable references) fold into normal pwsh with no runtime eval cmdlet. Dynamic bodies — `eval "$(cmd)"`, `eval `cmd``, `eval $((expr))`, `eval <(cmd)` — are rejected at transpile time with a clear message telling the user to inline the command''s output, instead of the prior behavior where rc sourcing hung past its timeout on nested ps-bash subprocess spawns. Also: route -c through InteractiveShell.ExpandAliases before transpile for REPL parity, with regression tests for `-c "... --<word> ..."` where `<word>` starts with a recognized short-flag letter. PSBASH_TEST_TIMEOUT wall-clock cap for test.sh. Shell test harness always closes child stdin for clean EOF. install-local.ps1 applies the NTFS rename-to-.old trick to every locked file, not just ps-bash.exe, so a live shell holding Core.dll no longer blocks redeploy. v0.8.13: Bash CLI compatibility for Claude Code wrappers (bundled -lc, -c -l cmd interleaving). Fix three transpiler bugs in Claude prelude (cmd || true, >|, < /dev/null). Add --unix-paths flag and PSBASH_UNIX_PATHS env var for opt-in MSYS drive-path translation. Hide pwsh worker console window when ps-bash spawned by GUI/Node parent. Interactive shell startup loading indicator and console-input restore after foreground children. v0.8.12: Replace all silent catch blocks with stderr logging. Fix sequence suggestion test. v0.8.10: Fix flaky background-job Pester tests and child-process module loading for CI stability. v0.8.9: Add install alias to module manifest. v0.8.8: Fix Ctrl+C in shell mode, ANSI prompt after git pull, install command, --noprofile flag, PATH command resolution, cursor redraw, history deduplication. v0.8.7: Direct execution for interactive external commands (claude, copilot, etc.). v0.8.6: Skip ps -u USER on non-Windows CI. v0.8.5: Skip ps -u USER on Linux CI. v0.8.4: Add missing Set-Alias for balias. v0.8.3: Remove PsBuiltinAliases, combined flag parsing, ls -F/-A/--color, interactive shell, rm nul guard.' } # End of PSData hashtable } # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. # DefaultCommandPrefix = '' } |