rezanid / PSDataverse

PowerShell module that brings Dataverse's Web API to PowerShell 7 with features like piping, batching and more.
MIT License
12 stars 2 forks source link

Enable true "one-command' operations by integrating Connect-Dataverse into Send-DataverseOperation #22

Open rezanid opened 1 year ago

rezanid commented 1 year ago

In some occasions, there is only ever one operation to be run and running two commands, one to connect and another to do the actual command gets in the way. Bringing parameters of Connect-Dataverse as optional parameters to Send-DataverseOperation can improve that. This will make it easier for other functions that are (and will be) built on top of Send-DataverseOperation to continue this tradition.