jjcarrier / ps-helpparser Goto Github PK
View Code? Open in Web Editor NEWA PowerShell module for parsing arbitrary command's help output
License: MIT License
A PowerShell module for parsing arbitrary command's help output
License: MIT License
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 a cmdlet that creates a new *.psm1 for the specified command using a common template (similar to what is referenced in the README.md
)
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.
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:
argparse
System.CommandLine
Apache Commons CLI
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.