Skip to content

Documentation: Add parameter description and code example for m365 API #4472

Closed
@TrygviZL

Description

@TrygviZL

While integrating the m365 into our CI/CD pipeline I was looking into using the API described here, but couldn't figure out how to pass parameters to the api without checking the code. An additional example of how to pass parameters would be great. I am thinking something like this to show how string and boolean parameters are passed:

executeCommand('status', {help: "response", verbose: true}, { output: 'text' })
  .then(res => {
    console.log(res.stdout)
  })

I can add a PR for this.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions