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

Enhancement: Move chalk.green('DONE') outside of the commandAction #2045

Closed
waldekmastykarz opened this issue Jan 8, 2021 · 0 comments
Closed

Comments

@waldekmastykarz
Copy link
Member

Currently, in our commands we output in verbose mode chalk.green('DONE') to confirm that the command has completed its execution. We implement this separately in each command. To improve consistency and simplify our code base, we should move it outside commandAction so that it's executed centrally and for each command without us having to think twice about implementing it. An added benefit is, that it will help us simplify our tests.

@waldekmastykarz waldekmastykarz self-assigned this Jan 29, 2021
waldekmastykarz added a commit to waldekmastykarz/cli-microsoft365 that referenced this issue Jan 30, 2021
waldekmastykarz added a commit to waldekmastykarz/cli-microsoft365 that referenced this issue Jan 30, 2021
waldekmastykarz added a commit to waldekmastykarz/cli-microsoft365 that referenced this issue Jan 31, 2021
waldekmastykarz added a commit to waldekmastykarz/cli-microsoft365 that referenced this issue Jan 31, 2021
@waldekmastykarz waldekmastykarz added this to the v3.6 milestone Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant