Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

PowerShell Pager Feature roadmap plan #7

@theJasonHelmick

Description

@theJasonHelmick

Motivation

Oftentimes, the output of a command is too large to fit on a single screen. Customers need the ability to scroll forward and back through the content for readability. The PowerShell Pager is a virtual terminal pager utility implementation similar to linux equivalents more and less. The PowerShell pager is not intended to replace less, instead be an enhancement to more.

Scenerios

The PowerShell pager should support the ability to display cmdlet help similar to the parameter -ShowWindow

Help Start-Process -page

The PowerShell pager should have a cmdlet Format-Page that supports pipeline input of content.

Get-Service | Where-Object {$_.status -eq Stopped} | Format-Page

Version 1.0 pager features

Planned features of the initial 1.0 release of the PowerShell Pager to support page navigation.

Feature | KeyBinding

  1. Top of File | HOME
  2. Bottom of file | END
  3. Next page | SPACEBAR
  4. Previous page | b
  5. Exit | q
  6. Down one line | UP ARROW
  7. Up one line | DOWN ARROW

Planned features of Version.Next release

To support the customer in identifying specific data, search with highlight will be added to the pager. Within the paging utility, a user will be able to specify a argument to be highlighted.

Feature | KeyBinding

  1. Search forward | /
  2. Search backward | \
  3. Next forward match | f
  4. Next backward match | b

Alternative Proposals

  1. The addition of Half page navigation similar to less. Keybindings move the content 1/2 page forward or backward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions