pnp / pnp/cli-microsoft365

Script samples could also show CLI version

Open
#6,240 8 comments 0 reactions 1 assignee View on GitHub

@femedici is already working on this.

Since Sep 8, 2026.

enhancement work in progress
Dominant language
TypeScript
Stars
1.5k
Forks
413
Avg merge
5d 6h
Merged PRs (30d)
21

Description

Currently, in our docs we do not show which version of CLI was used when some script was written.
image

This may lead to problems when someone tries one of our scripts with latest version of CLI. Some things could already changed and some options could already be deprecated. Of course it would be best if we would keep our scripts inline with latest major version but it is a lot of work and we may still just miss something.

in the Microsoft Adoption sample gallery this info is shown

image

It's kept in the sample.json in which we store all sample metadata
image

It would be best if we could also show this on our docs also coming from the sample.json asset so we won't need to maintain the version in two places.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.