pnp / pnp/cli-microsoft365

Migrate `spo list` commands to Zod

Open
#7,333 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 list add
  • spo list contenttype add
  • spo list contenttype default set
  • spo list contenttype list
  • spo list contenttype remove
  • spo list get
  • spo list list
  • spo list remove
  • spo list retentionlabel ensure
  • spo list retentionlabel get
  • spo list retentionlabel remove
  • spo list roleassignment add
  • spo list roleassignment remove
  • spo list roleinheritance break
  • spo list roleinheritance reset
  • spo list sensitivitylabel ensure
  • spo list sitescript get
  • spo list view field add
  • spo list view field remove
  • spo list view field set
  • spo list view get
  • spo list view list
  • spo list view remove
  • spo list view set
  • spo list webhook add
  • spo list webhook get
  • spo list webhook list
  • spo list webhook remove
  • spo list webhook 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 parent issue #6807, then locate the implementations for the listed spo list commands. Migrate each command's argument validation to Zod and mark the corresponding checklist items when all listed commands are covered.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.