pnp / cli-microsoft365

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

New command: m365 pp pipeline get #6317

Open appieschot opened 2 months ago

appieschot commented 2 months ago

Usage

m365 pp pipeline get

Description

Gets information about the specified Power Platform pipeline

Options

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

Examples

Retrieves a pipeline by ID the given Power Platform environment.

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

Retrieves a pipeline by ID the given Power Platform environment as admin.

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

Default properties

N/a

Additional Info

You can have a look at the logic behind: https://learn.microsoft.com/en-us/power-platform/developer/cli/reference/pipeline and/or https://learn.microsoft.com/en-us/power-platform/developer/pipelines/table-reference

Adam-it commented 1 month ago

if we would be able to specify the exact API endpoint which should be used then we could add this as 'good first issue' other than that lets open it up 👍 awesome work 👏