# allyhub slides import

> Makes a deck of a PowerPoint file: its masters and layouts as the deck's module, its slides and its words and notes as the files the module names, its pictures and videos beside them, listed in allyhub.yaml; says what it could not hold; never over a file that is there

Source: https://allyhub.com/docs/reference/cli/slides-import · AllyHub 0.10.0
Index of all docs: https://allyhub.com/llms.txt

## Usage

```bash
allyhub slides import [file] [options]
```

## Arguments

| Argument | Type | What it is |
| --- | --- | --- |
| `<file>` | string | The .pptx to make a deck of |

## Options

| Option | Type | Default | What it does |
| --- | --- | --- | --- |
| `--to` | string |  | The deck's module, from the project's root (default &lt;the file's name&gt;.ts); its slides are &lt;name&gt;.yaml beside it, its script &lt;name&gt;.&lt;lang&gt;.yaml, its pictures and videos beside them under names no file there has |
| `--max-unzipped` | number | `1536` | MB the file may unzip to, a file past it refused |
| `--lang` | string | `"en"` | The language of its words: its script is &lt;name&gt;.&lt;lang&gt;.yaml |

## Global options

`--dir <value>`: the project's folder; default the one around where it is run. `--json`: print the result as JSON.

## Examples

```bash
allyhub slides import ~/Downloads/q3-review.pptx --to reviews/q3.ts
allyhub slides import 培训.pptx --to training/onboarding.ts --lang zh-cn
```

## Exit codes

`0` when it succeeds; the others are listed in [Exit codes](https://allyhub.com/docs/reference/cli/exit-codes.md).

## In the work

**decks**: Making a deck

[`slides capabilities`](https://allyhub.com/docs/reference/cli/slides-capabilities.md) → `slides import` → [`check`](https://allyhub.com/docs/reference/cli/check.md) → [`frames`](https://allyhub.com/docs/reference/cli/frames.md) → [`frames compare`](https://allyhub.com/docs/reference/cli/frames-compare.md) → [`inspect layout`](https://allyhub.com/docs/reference/cli/inspect-layout.md) → [`inspect contrast`](https://allyhub.com/docs/reference/cli/inspect-contrast.md) → [`dev`](https://allyhub.com/docs/reference/cli/dev.md) → [`render`](https://allyhub.com/docs/reference/cli/render.md)
