OfficeCLI
OfficeCLI copied to clipboard
fix(doc): Document the shipped SDK quick-start API
Fixes #250
Summary
- Replace the nonexistent
Docwrapper examples with the shippedcreate/openandDocument.sendAPI. - Use
parentfor the slide add command, matching the batch-item command shape.
Verification
PYTHONPATH=sdk/python python3 -c "import officecli; print(officecli.Document)"node --input-type=module -e "import * as sdk from "./sdk/node/index.js"; console.log(typeof sdk.create, typeof sdk.open)"- Executed both README workflows with the built CLI; each creates a deck, adds a slide, and reads it back.
@eric8810 Would you please review this pr?