Initial commit
This commit is contained in:
39
commands/convert.md
Normal file
39
commands/convert.md
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
description: Convert PDF to PowerPoint with custom DPI
|
||||
argument-hint: input.pdf output.pptx
|
||||
---
|
||||
|
||||
Convert a PDF file to PowerPoint (PPTX) format with each page as a slide.
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
pdf-to-pptx-tool convert INPUT_PDF OUTPUT_PPTX [--dpi DPI]
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- `INPUT_PDF`: Path to input PDF file (required)
|
||||
- `OUTPUT_PPTX`: Path to output PPTX file (required)
|
||||
- `--dpi DPI`: Resolution for conversion (default: 200)
|
||||
- `-v/-vv/-vvv`: Verbosity (INFO/DEBUG/TRACE)
|
||||
|
||||
## Examples
|
||||
|
||||
```bash
|
||||
# Basic conversion
|
||||
pdf-to-pptx-tool convert document.pdf slides.pptx
|
||||
|
||||
# High quality conversion
|
||||
pdf-to-pptx-tool convert report.pdf presentation.pptx --dpi 300
|
||||
|
||||
# With verbose logging
|
||||
pdf-to-pptx-tool -vv convert input.pdf output.pptx
|
||||
```
|
||||
|
||||
## Output
|
||||
|
||||
Creates a PowerPoint (.pptx) with:
|
||||
- One slide per PDF page
|
||||
- 16:9 aspect ratio (10" x 5.625")
|
||||
- Images sized to fill entire slide
|
||||
42
commands/help.md
Normal file
42
commands/help.md
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
description: Show help information for pdf-to-pptx-tool
|
||||
argument-hint: command
|
||||
---
|
||||
|
||||
Display help information for pdf-to-pptx-tool CLI commands.
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
# Show general help
|
||||
pdf-to-pptx-tool --help
|
||||
|
||||
# Show command-specific help
|
||||
pdf-to-pptx-tool COMMAND --help
|
||||
|
||||
# Show version
|
||||
pdf-to-pptx-tool --version
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- `COMMAND` (optional): Specific command to get help for
|
||||
- `--help` / `-h`: Show help information
|
||||
- `--version` / `-v`: Show version information
|
||||
|
||||
## Examples
|
||||
|
||||
```bash
|
||||
# General help
|
||||
pdf-to-pptx-tool --help
|
||||
|
||||
# Command help
|
||||
pdf-to-pptx-tool search --help
|
||||
|
||||
# Version information
|
||||
pdf-to-pptx-tool --version
|
||||
```
|
||||
|
||||
## Output
|
||||
|
||||
Displays usage information, available commands, and options.
|
||||
Reference in New Issue
Block a user