Using util functions in favor of commands calling other commands to reuse code #4486
waldekmastykarz
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently, we had another look at our code and decided that going forward we want to use util functions in favor of commands calling other commands internally, in order to reuse existing code.
The reasons being:
Next steps
In the coming weeks we'll create an epic listing all commands that need refactoring, and create a separate issue for each one to better track and separate work. We'll extract the shared code into util functions which we'll reference from other places.
PRs that are already open and which use the pattern of commands calling other commands will be accepted without requiring authors to rework them.
Don't hesitate to reach out to us if you have any questions.
CLI for Microsoft 365 team
Beta Was this translation helpful? Give feedback.
All reactions