Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/devster31/filebot-scripts

Personal FileBot scripts
https://github.com/devster31/filebot-scripts

Last synced: 12 days ago
JSON representation

Personal FileBot scripts

Awesome Lists containing this project

README

        

# FileBot format templating
To generate files run:
```
yarn
yarn run build
```
If you want to see the log output use `yarn run build-dbg`,
`env DEBUG='*' yarn run build` (fish shell) or equivalent in other shells.
The build script expects a directory tree like the following:
```
.
├── README.md
├── index.js
├── package.json
├── templates
│   ├── clear_secrets.json
│   ├── movieFormat.mustache
│   ├── partials
│   │   └── audio.mustache
│   ├── secrets.json
│   ├── seriesFormat.mustache
│   └── vars.json
└── yarn.lock
```
with template files (including desired extension) ending in `.mustache`
contained in `templates` (e.g. `movieFormat.groovy.mustache`) and
partials ending in `.mustache` and contained in `templates/partials`.
The script also requires a `vars.json` file and optionally a `clear_secrets.json`,
both contained in `templates`. These get merged at runtime.
The scripts outputs generated files into `dist`.