项目作者: lpatalas

项目描述 :
Prettier Get-ChildItem replacement and ability to display lists of objects in columns
高级语言: PowerShell
项目地址: git://github.com/lpatalas/ShowColumns.git
创建时间: 2014-01-19T19:57:56Z
项目社区:https://github.com/lpatalas/ShowColumns

开源协议:MIT License

下载


ShowColumns

PowerShell Gallery

ShowColumns provides prettier Get-ChildItem replacement and ability to display lists of objects in columns.

Available cmdlets are:

  • Show-Columns - displays any data piped into it in columns with auto-calculated widths.
  • Show-ChildItemColumns - invokes Get-ChildItem with given parameters and displays results using Show-Columns.

Example

Example

Installation

Install module from PowerShell Gallery:

  1. Install-Module ShowColumns -Scope CurrentUser

Then import module in your PowerShell profile and overwrite ls alias:

  1. Import-Module ShowColumns
  2. Set-Alias ls Show-ChildItemColumns -Option AllScope

Features

  • Automatic calculation of column widths based on available screen space
  • Ability to display any property either by name or using arbitrary expression
  • Ability to group items by property value or expression
  • Ability to configure colors and text decoration based on input objects
  • Drop-in replacement for Get-ChildItem cmdlet for convenient use

Documentation

See docs/ShowColumns.md for module documentation.