puppeteer/website/versioned_docs/version-20.7.0/browsers-api/browsers.cli._constructor_.md

23 lines
434 B
Markdown
Raw Normal View History

---
sidebar_label: CLI.(constructor)
---
# CLI.(constructor)
Constructs a new instance of the `CLI` class
#### Signature:
```typescript
class CLI {
constructor(cachePath?: string, rl?: readline.Interface);
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------------------ | ------------ |
| cachePath | string | _(Optional)_ |
| rl | readline.Interface | _(Optional)_ |