impriving passing argument to the repository #269
Labels
💭 - brainstorming
feature idea and related discussion
👶 - good first issue
Good for newcomers
feature request
P-medium
Medium priority
I noted that our parameter numbers are increasing so I am going to change the approach.
Every command should have an
CommandNameOpts
struct that will be passed down to the command, as a single parameter. This helps us to increase the number of parameters without breaking existing API (at least the compilation of the code)Example code:
The text was updated successfully, but these errors were encountered: