You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(commands): simplify source option selection in MusicCommand handle method
- Move interactive source selection logic from interact and afterPromptingForMissingArguments methods into the handle method
- Use unless condition to prompt user for sources only if not provided as an option
- Remove redundant method overrides to streamline command execution flow
- Update Music facade phpdoc to reflect 'options' parameter name instead of 'sources' in search method
This change improves code clarity by consolidating source option handling into a single place and reduces complexity of the command class.
Signed-off-by: guanguans <ityaozm@gmail.com>
0 commit comments