pnp / pnp/cli-microsoft365

Migrate `spo file` commands to Zod

Open
#7,327 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Part of #6807

Commands to migrate:

  • spo file add
  • spo file checkin
  • spo file checkout
  • spo file checkout undo
  • spo file copy
  • spo file get
  • spo file list
  • spo file move
  • spo file remove
  • spo file rename
  • spo file retentionlabel ensure
  • spo file retentionlabel remove
  • spo file roleassignment add
  • spo file roleassignment remove
  • spo file roleinheritance break
  • spo file roleinheritance reset
  • spo file sharinginfo get
  • spo file sharinglink add
  • spo file sharinglink clear
  • spo file sharinglink get
  • spo file sharinglink list
  • spo file sharinglink remove
  • spo file sharinglink set
  • spo file version clear
  • spo file version get
  • spo file version list
  • spo file version remove
  • spo file version restore

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.

Research direction

Start by reading parent issue #6807 and locating the implementations for the listed spo file commands. Apply the repository's Zod migration pattern to each command, then verify that all checklist entries are complete and existing command behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.