pnp / cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
https://aka.ms/cli-m365
MIT License
909 stars 317 forks source link

New command: m365 pp pipeline stage list #6292

Open appieschot opened 2 weeks ago

appieschot commented 2 weeks ago

Usage

m365 pp pipeline run list

Description

List all pipeline stages for the given pipeline in the specified Power Platform environment.

Options

Option Description
-i, --id <id> The id of the pipeline to retrieve stages for.
-e, --environmentName <environmentName> The name of the environment where the pipelines are located.
--asAdmin Run the command as admin and retrieve Power Pages websites for environments you do not have explicitly assigned permissions to.

Examples

List all stages for the pipeline in the given Power Platform environment.

m365 pp pipeline stage list --id d87a7535-dd31-4437-bfe1-95340acd55c5 --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 

List all stages for the pipeline in the given Power Platform environment as admin.

m365 pp pipeline stage list --id d87a7535-dd31-4437-bfe1-95340acd55c5 --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin

Default properties

Additional Info

https://learn.microsoft.com/en-us/power-platform/developer/pipelines/table-reference#deploymentstage-deployment-stage

Adam-it commented 1 week ago

LGTM 👍 Let's open it up