Giter Site home page Giter Site logo

ps-helpparser's People

Contributors

jjcarrier avatar

Stargazers

 avatar  avatar

Watchers

 avatar

ps-helpparser's Issues

Fix text alignment

Parameters that span multiple lines often will have misaligned text this is partly due to trimming logic in the module.
Add logic to make this more visually appealing.

Add New-HelpParser cmdlet

Add a cmdlet that creates a new *.psm1 for the specified command using a common template (similar to what is referenced in the README.md)

Cache parsed help params

A consideration for cases where parsing on-the-fly can cause noticeable latency issues with tab-completion:

It may be nice to consider options to cache the parsed results. Mechanisms such as hashing the data or checking the binary version or hash of the binary could be used to determine whether the cached results need to be invalidated and regenerated for the current instance.

Also take into consideration that the command invoked depends on the system path. Such a solution should resolve the full path of the binary incase a different session is being used that points to a different version of the same command name.

Consider adding optimized support for standard CLI handler libraries

Many modern languages define their own CLI argument parsing library (or there are well-established 3rd party libraries) which goes hand-in-hand with the help documentation. Consider supporting these in an optimized way since their formatting may be more well-defined and structured. Cases of this may include:

  • Python: argparse
  • .NET Core: System.CommandLine
  • Java: Apache Commons CLI

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.