Skip to content

Conversation

@william2958
Copy link
Contributor

Summary

This MR introduces the RushCommandLineAPI class, which exposes the set of actions available from the rush command line and their corresponding parameter details through a getSpec static function. This allows us to expose rush's set of command line actions without directly exposing the RushCommandLineParser.

This is useful for other rush tools that may need to work with the available rush actions such as by displaying them through a GUI (such as in the rush vscode extension)

Details

How it was tested

Tested by comparing the output to the output generated by the RushCommandLineParser class.

Impacted documentation

@william2958 william2958 marked this pull request as ready for review August 25, 2023 21:54
@iclanton iclanton changed the title Expose Rush Command Line Parser via API [rush] Expose Rush Command Line Parser via API Aug 28, 2023
@william2958 william2958 force-pushed the will/expose-command-line branch from 492bcd8 to b0c3f06 Compare September 11, 2023 08:26
@william2958 william2958 force-pushed the will/expose-command-line branch from 4520a04 to 10b6c92 Compare December 5, 2023 18:07
@iclanton iclanton force-pushed the will/expose-command-line branch from 05140ec to 2b05e41 Compare February 28, 2024 06:17
@iclanton iclanton force-pushed the will/expose-command-line branch from 3172f2d to 9a51e3b Compare February 28, 2024 06:46
@octogonz
Copy link
Collaborator

Thank you @iclanton for getting this wrapped up!

@iclanton iclanton merged commit 2701cc2 into microsoft:main Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants