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

refactor(plugin): expand scope of ExecuteOperations trait #911

Closed
wants to merge 1 commit into from

Conversation

niladrih
Copy link
Member

@niladrih niladrih commented Jan 3, 2025

The Trait ExecuteOptions requires a specific type from the this repo to work. This poses as a limitation for repos which use this codebase as a git module. This change adheres to the patterns where a clap::Parser struct instance is passed to the function, while removing dependency on the exact type of clap::Parser. Also, adds an output argument to support the existing users of this trait who depend on the CliArgs.output member from the cli_args arg.

The Trait ExecuteOptions requires a specific type from the this repo to work.
This poses as a limitation for repos which use this codebase as a git module.
This change adheres to the patterns where a clap::Parser struct instance is
passed to the function, while removing dependency on the exact type of clap::Parser.
Also, adds an output argument to support the existing users of this trait
who depend on the CliArgs.output member from the cli_args arg.

Signed-off-by: Niladri Halder <[email protected]>
@niladrih niladrih force-pushed the execute_operations branch from 2bf455a to 589c51b Compare January 3, 2025 08:54
@niladrih
Copy link
Member Author

niladrih commented Jan 3, 2025

This PR is not required.

@niladrih niladrih closed this Jan 3, 2025
@niladrih niladrih deleted the execute_operations branch January 3, 2025 17:14
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

Successfully merging this pull request may close these issues.

1 participant