Replies: 2 comments 5 replies
-
Good question and I think that's an area we could improve. With the number of commands we have, we have plenty of examples, so typically when building commands myself, I use another command as a starting point and adjust it where necessary. As for debugging, logging output to console is sufficient for me. That said, I don't think I'm any way representative for the bigger community out there, so if you have any suggestions how we could improve it, I'd love to hear them. @pnp/office-365-cli-maintainers do you have specific way of working on the CLI that could contribute to @plamber's question? |
Beta Was this translation helpful? Give feedback.
-
Here is it: https://github.com/pnp/office365-cli/blob/master/docs/guides/adding-command.md#implement-unit-tests Someone from the community added this piece of documentation on how to debug unit tests. This is at least some start |
Beta Was this translation helpful? Give feedback.
-
Hi guys,
I was wondering if there is some documentation that explains command developers how to debug and test the CLI during development (using breakpoints etc.)?
Thank you,
Patrick
Beta Was this translation helpful? Give feedback.
All reactions