CLI Reference¶
papersmith provides a command-line interface for common operations.
Commands¶
papersmith generate¶
Convert a Markdown file to a .docx document.
| Option | Short | Default | Description |
|---|---|---|---|
--output |
-o |
required | Output .docx file path |
--preset |
-p |
academic |
Style preset name |
--author |
-a |
None |
Author name |
--title |
-t |
None |
Document title |
papersmith convert¶
Alias for generate with the same options.
papersmith scrub¶
Remove or replace identifying metadata in a .docx file.
| Option | Short | Default | Description |
|---|---|---|---|
--author |
-a |
"Author" |
Replacement author name |
--output |
-o |
in-place | Save to a different file |
papersmith presets¶
List all available style presets.
papersmith mcp-server¶
Launch the MCP server for LLM integration.
| Option | Default | Description |
|---|---|---|
--transport |
stdio |
Transport mode: stdio or sse |
--output-dir |
~/Documents |
Directory for saved documents |
papersmith version¶
Print the installed version.