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

Move each flag to a corresponding struct instance field associated only to the given command #2434

Open
felipemadero opened this issue Dec 12, 2024 · 0 comments

Comments

@felipemadero
Copy link
Collaborator

felipemadero commented Dec 12, 2024

Goal

To avoid conflicts with different commands setting in sequence defaults values onto the same variable
To avoid side effects while using global variables inside different functions
To enable calling commands with providing the input flags in a struct
This has already been done with some commands, eg, interchain messenger deploy

Assumptions and Scope

Example Usage

Requirements:

Current Limitations

Nice to Have, but Not Required

Open Questions

@felipemadero felipemadero changed the title Move each flag to a corresponding variable associated only to the given command Move each flag to a corresponding struct instance field associated only to the given command Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog 🗄️
Development

No branches or pull requests

1 participant