Complete and standardize the PowerShell API surface - #186
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #186 +/- ##
======================================
Coverage 1.45% 1.45%
======================================
Files 590 629 +39
Lines 34511 34419 -92
Branches 5485 5751 +266
======================================
- Hits 503 502 -1
+ Misses 33954 33863 -91
Partials 54 54 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d54916ea20
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 721f0a7a19
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
Path, copy targets onDestinationPath, lifecycle opening onOpen, and format-neutral PDF output throughExport-OfficeDocumentPdf-PassThruwhen callers need the saved file, result, or changed objectNew-Office*Optionscommands for PDF export/import, image export, HTML rendering, reader hierarchy, Word review, OpenDocument conversion, and email/mailbox workflows-AllPages, boundedPageCountbatches, and PNG/SVG/JPEG/TIFF/WebP formatsBreaking changes
InputPathandFilePathparameters move toPath, exceptExport-OfficeDocumentPdf, whereInputPathis the source andPathis the produced PDFShowbecomesOpen; practical migration aliases remain where appropriateNew-*,Save-*, export, and mutation commands no longer emit values unless-PassThruis suppliedGet-OfficeWord/Get-OfficeExcel -AutoSaveare removed in favor of explicit save and close operations-Openis rejected with-NoSavebecause there is no saved artifact to openNew-Office*Optionscommand instead of guessed hashtables or direct .NET constructorsPowerShell usage
Validation
Out-Nullsuppression patterns, and quiet-command pipelines without-PassThru