pnp / pnp/cli-microsoft365

Migrate `spo listitem` commands to Zod

Open
#7,334 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 listitem add
  • spo listitem attachment add
  • spo listitem attachment get
  • spo listitem attachment list
  • spo listitem attachment remove
  • spo listitem attachment set
  • spo listitem batch add
  • spo listitem batch remove
  • spo listitem batch set
  • spo listitem get
  • spo listitem isrecord
  • spo listitem list
  • spo listitem record declare
  • spo listitem record lock
  • spo listitem record undeclare
  • spo listitem record unlock
  • spo listitem remove
  • spo listitem retentionlabel ensure
  • spo listitem retentionlabel remove
  • spo listitem roleassignment add
  • spo listitem roleassignment remove
  • spo listitem roleinheritance break
  • spo listitem roleinheritance reset
  • spo listitem set

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 with the migration plan in #6807, then locate the implementations for the listed spo listitem commands. Work through the checklist, beginning with one command to understand the existing patterns. Done means all listed commands use Zod while retaining their current behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.