# cinemapress

> CinemaPress CLI

Latest version **0.0.3** (published 2019-08-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install cinemapress
pnpm add cinemapress
yarn add cinemapress
bun add cinemapress
```

Provides the command `cinemapress`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2019-08-06 |
| First published | 2019-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 77.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | extensionsapp |

## Links

- npm: https://www.npmjs.com/package/cinemapress
- Repository: https://github.com/CinemaPress/cinemapress-cli
- Homepage: https://cinemapress.org
- Issues: https://github.com/CinemaPress/cinemapress-cli/issues
- npm.io page: https://npm.io/package/cinemapress

## Dependencies (6)

- [ora](https://npm.io/package/ora.md) 3.4.0
- [jsdom](https://npm.io/package/jsdom.md) 15.1.1
- [fs-extra](https://npm.io/package/fs-extra.md) 8.1.0
- [commander](https://npm.io/package/commander.md) 2.20.0
- [js-beautify](https://npm.io/package/js-beautify.md) 1.10.1
- [website-scraper](https://npm.io/package/website-scraper.md) 4.0.1

## Recent versions

- 0.0.3 (latest) — 2019-08-06
- 0.0.2 — 2019-08-06
- 0.0.1 — 2019-08-05

## README

# CinemaPress CLI

## Install (<a href="https://nodejs.org/" target="_blank">NodeJS</a>)
```bash
npm i cinemapress -g
```

## Usage
```bash
cinemapress theme --name "mytheme" --index "https://example.com"
```

- `https://example.com` - donor website;
- `mytheme` - name theme (lowercase).

After generation and editing (recommended use <a href="https://code.visualstudio.com/" target="_blank">Visual Studio Code</a> and <a href="https://marketplace.visualstudio.com/items?itemName=DigitalBrainstem.javascript-ejs-support" target="_blank">EJS extensions</a>), you can send `mytheme` folder to the server in `themes` folder.

- `/themes/mytheme/default/` - all functions in theme (help);
- `/themes/mytheme/public/` - static files;
- `/themes/mytheme/views/` - theme files;

#### File to URL:

- `index.ejs` - `/`
- `movie.ejs` - `/movie/[id]`
- `episode.ejs` - `/movie/[id]/s01e01`
- `picture.ejs` - `/movie/[id]/picture`
- `trailer.ejs` - `/movie/[id]/trailer`
- `online.ejs` - `/movie/[id]/online`
- `download.ejs` - `/movie/[id]/download`
- `categories.ejs`
  - `/year`
  - `/genre`
  - `/actor`
  - `/country`
  - `/director`
  - `/content`
- `category.ejs`
  - `/year/[year]`
  - `/genre/[genre]`
  - `/actor/[actor]`
  - `/country/[country]`
  - `/director/[director]`
  - `/content/[content]`

## Help
```bash
~# cinemapress -h

Usage: cinemapress <command> [options]

Create theme for CinemaPress

Options:
  -i, --index <url>       index url
  -m, --movie [url]       movie url
  -c, --category [url]    category url
  -s, --categories [url]  categories url
  -e, --episode [url]     episode url
  -p, --picture [url]     picture url
  -t, --trailer [url]     trailer url
  -o, --online [url]      online url
  -d, --download [url]    download url
  -n, --name [name]       name theme
  -V, --version           output the version number
  -h, --help              output usage information
```

---
_Source: https://npm.io/package/cinemapress · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
