CLI resource

excel

Convert visible worksheets to one PDF, read and write cells, and edit sheets in an existing workbook. Hidden sheets are skipped on convert.

The agent runs this

GPT Skills and DeepSeek Harness spawn the local CLI. The file stays on disk.

CLI
jetformat excel to-pdf workbook.xlsx -o workbook.pdf

Ask: Read Summary!B12, set A1 to 5, recalculate, then convert visible sheets to PDF.

Works

  • .xlsx visible sheets
  • get / set / recalc
  • sort, filter, freeze, tables, sheet protect

Does not

  • No .xls or .xlsm
  • No delete-row command
  • Merge copies values and formulas, not charts or images
  • No reverse Excel export
  • No chart-drawing CLI

CLI surface

These commands already ship in the local binary. Creating a document from scratch is not a CLI product yet.

to-pdf

Visible worksheets become one PDF in workbook order. Hidden sheets are skipped.

CLI
jetformat convert workbook.xlsx -o workbook.pdf
jetformat excel to-pdf workbook.xlsx

inspect / get / set / recalc

Inspect sheets, formulas, and named ranges. set writes a value or formula; recalc updates cached results.

CLI
jetformat excel inspect finance.xlsx --json
jetformat excel get finance.xlsx --sheet Summary --cell B12
jetformat excel set finance.xlsx --sheet Summary --cell A1 --value 5 -o finance.xlsx --force
jetformat excel recalc finance.xlsx -o finance.xlsx --force

table / sort / filter / freeze

Format as table, sort a column, set an auto-filter, freeze panes, and merge cells. Validation is a comma-separated dropdown only.

CLI
jetformat excel table finance.xlsx --sheet Summary --range A1:B2 --name Sales -o finance.xlsx --force
jetformat excel sort finance.xlsx --sheet Summary --column A -o finance.xlsx --force
jetformat excel filter finance.xlsx --sheet Summary --range A1:C20 -o finance.xlsx --force
jetformat excel freeze finance.xlsx --sheet Summary --row --col -o finance.xlsx --force

add-sheet / protect / protect-sheet

Add, copy, rename, or remove visible sheets. protect locks workbook structure; protect-sheet locks one sheet.

CLI
jetformat excel add-sheet finance.xlsx --name Extra -o finance.xlsx --force
jetformat excel copy-sheet finance.xlsx --from Summary --name Copy -o finance.xlsx --force
jetformat excel protect finance.xlsx --password secret -o finance.xlsx --force
jetformat excel protect-sheet finance.xlsx --sheet Summary --password secret -o finance.xlsx --force

insert-row / hide-column / print-area

Insert or hide rows and columns. There is no delete-row command. Column width is a character width.

CLI
jetformat excel insert-row finance.xlsx --sheet Summary --row 2 -o finance.xlsx --force
jetformat excel hide-column finance.xlsx --sheet Summary --column A -o finance.xlsx --force
jetformat excel column-width finance.xlsx --sheet Summary --column A --width 18 -o finance.xlsx --force
jetformat excel print-area finance.xlsx --sheet Summary --range A1:B2 -o finance.xlsx --force

merge / split

Merge copies cell values and formulas from visible sheets. Charts and images may not copy.

CLI
jetformat excel merge a.xlsx b.xlsx -o workbook.xlsx --force
jetformat excel split workbook.xlsx -o workbook-parts --force

Give the agent a real converter.

Install the CLI, then the GPT Skill or DeepSeek Harness plugin. The model runs jetformat. The PDF lands on disk.