Skip to content

updates the office 365 reports documentation#1393

Closed
plamber wants to merge 4 commits intopnp:devfrom
plamber:reports-doc-update
Closed

updates the office 365 reports documentation#1393
plamber wants to merge 4 commits intopnp:devfrom
plamber:reports-doc-update

Conversation

@plamber
Copy link
Copy Markdown
Contributor

@plamber plamber commented Mar 7, 2020

implements #1391

@coveralls
Copy link
Copy Markdown

coveralls commented Mar 7, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling f0f42a6 on plamber:reports-doc-update into b93282d on pnp:dev.

@waldekmastykarz
Copy link
Copy Markdown
Member

Thanks! We'll review it shortly 👏

Copy link
Copy Markdown
Contributor

@VelinGeorgiev VelinGeorgiev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Patrick @plamber! It looks quite good. I left only one small comment.

I also have a question. @garrytrinder , @plamber do you think we can benefit if we also add the double quotes around the file name so we change it from --outputFile activityusercounts.txt to --outputFile "activityusercounts.txt"?

I am thinking of a case where intern admins blindly follow the examples, but name their file --outputFile my report 1.txt? You can see where I am getting.


```sh
spo report activitypages --period D7 --output json --outputFile 'report.json'
spo report activitypages --period D7 --output json --outputFile activitypages.jsons
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should that be json instead of jsons?

Copy link
Copy Markdown
Contributor Author

@plamber plamber Mar 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected the typo

@waldekmastykarz
Copy link
Copy Markdown
Member

Adding quotes makes sense as a default measure. I came across it when using a string with # which was picked up by bash as a special character and which broke the command.

@VelinGeorgiev
Copy link
Copy Markdown
Contributor

VelinGeorgiev commented Mar 13, 2020

Patrick @plamber , would you please be able to make these changes before we merge it?

@plamber
Copy link
Copy Markdown
Contributor Author

plamber commented Mar 14, 2020

@VelinGeorgiev performed the changes as requested

@plamber plamber requested a review from VelinGeorgiev March 14, 2020 09:40
@plamber
Copy link
Copy Markdown
Contributor Author

plamber commented Mar 14, 2020

@waldekmastykarz @VelinGeorgiev: while performing the suggested changes I noticed that we have the same problem for some other commands. Have a look in "project-externalize.md". It is also not using quotes.

I would suggest to create a new issue to handle the cleanup of other items too.

@VelinGeorgiev
Copy link
Copy Markdown
Contributor

Thank you! We'll review shortly.

@VelinGeorgiev
Copy link
Copy Markdown
Contributor

Agree.

@plamber
Copy link
Copy Markdown
Contributor Author

plamber commented Mar 14, 2020

Created a follow-up issue for this: #1410

@VelinGeorgiev
Copy link
Copy Markdown
Contributor

VelinGeorgiev commented Mar 14, 2020

@plamber , could you please use double quotes instead of single quotes. I think this is what we agreed to use with Garry. Sorry for the trouble.

@plamber
Copy link
Copy Markdown
Contributor Author

plamber commented Mar 14, 2020

@VelinGeorgiev I missed the double quote part. I already fixed it

Copy link
Copy Markdown
Contributor

@VelinGeorgiev VelinGeorgiev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good Patrick (@plamber)! Thank you!

Your work will be merged from here: https://github.com/VelinGeorgiev/office365-cli/tree/report-docs-update

All I did it to merge your four commits into one.

@waldekmastykarz
Copy link
Copy Markdown
Member

Merged manually. Thank you! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants