Wink Pings

One Command to Generate Native PPT: OfficeCLI Puts the Entry Point Back in the Terminal

OfficeCLI compresses generating .pptx into a single command: write a brief, choose hosted trial or your own model endpoint, and finally get a native file. The four-step workflow, install command, and demo video are all below.

There are many PPT generation tools, but most make you open a web page first and then fill in fields in a sidebar. OfficeCLI puts the entry point back in the terminal: one command, give the format, theme, and brief, and finally produce a native .pptx file.

It solves repetitive work. Weekly reports, quarterly reviews, and client proposals have fixed formats, while the content is rewritten each time. Writing templates, adjusting layouts, and exporting images means time spent on manual shuffling. OfficeCLI connects these steps with the command line, making it suitable for people who are already used to scripts and also for people who do not want to click buttons repeatedly in web tools.

The workflow has four steps.

Step 1: write the command. Format, theme, and brief are all placed in one line:

officecli new pptx "Q3 Business Review" --prompt "Create a six-slide executive deck for a SaaS quarterly business review. Cover growth, retention, risks, and next-quarter actions."

If the brief is longer, put it in a file:

--prompt-file ./brief.md

Step 2: choose the access method. The default is hosted trial; the first run does not require a model endpoint or a config file. After that, you can use officecli login or an API key to use hosted credits; you can also switch to External Mode and use your own LLM endpoint, free and unlimited:

officecli config set-runtime external
officecli config set-generation

Step 3: the model writes the file. The text model first drafts the content. When generating the deck, it will add images in appropriate places according to the plan; if you want a text-only deck, add --no-images.

Step 4: get the native file. After generation is complete, the file is saved to ./output by default:

Generation completed. Saved to output/Q3_BUSINESS_REVIEW.PPTX

Use --out to change the directory, and --json to make it easy for scripts to read the result.

Install:

npm install -g officecli

Demo video:

A few crypto accounts under the original tweet are commenting "DM me" and "Let's collab"; they have little to do with the tool itself, so just skip them. To judge whether a CLI tool is worth trying, look at two things: whether the command is short, and whether the output can be opened directly in PowerPoint or Keynote. OfficeCLI gives clear answers on both.

Original post: https://x.com/officecli/status/2117295858454860157

发布时间: 2026-11-03 01:27