Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: transition stuart commands to subcommands #555

Closed
Javagedes opened this issue May 18, 2023 · 0 comments
Closed

[Feature]: transition stuart commands to subcommands #555

Javagedes opened this issue May 18, 2023 · 0 comments

Comments

@Javagedes
Copy link
Contributor

Javagedes commented May 18, 2023

the current layout of stuart commands (stuart_update, stuart_build) is relatively uncommon nomenclature for groups of common commands. The typical design pattern is to have a command with multiple subcommands (think git with git checkout, git branch, etc.

edk2-pytool-extensions should follow this pattern by setting up a single entry point, stuart, that will invoke the different invocables depending on the command provided. This will be handled via argparser's command and subcommand options.

stuart_init -> stuart init
stuart_update -> stuart update
stuart_pr_eval -> stuart pr_eval
stuart_build -> stuart build

Relies on: #556 , #557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant