OfficeCLI icon indicating copy to clipboard operation
OfficeCLI copied to clipboard

fix(doc): Document the shipped SDK quick-start API

Open Inference1 opened this issue 4 months ago • 1 comments

Fixes #250

Summary

  • Replace the nonexistent Doc wrapper examples with the shipped create/open and Document.send API.
  • Use parent for 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.

Inference1 avatar Jul 21 '26 16:07 Inference1

@eric8810 Would you please review this pr?

Inference1 avatar Jul 22 '26 03:07 Inference1