@hekaya/cli
v1.5.0
Published
Command-line tool for Hekaya screenplay markup
Maintainers
Readme
@hekaya/cli
Command-line tool for Hekaya screenplay markup. Parse, render, export, validate, and convert Arabic screenplays.
Install
npm install -g @hekaya/cliCommands
Parse to JSON
hekaya parse script.hekaya
hekaya parse script.hekaya -o script.json
hekaya parse script.hekaya --no-prettyRender to HTML
hekaya render script.hekaya
hekaya render script.hekaya -o script.htmlExport to PDF
hekaya export script.hekaya -o script.pdf
hekaya export script.hekaya --no-title-page
hekaya export script.hekaya --meta # include sections/synopses
hekaya export script.hekaya --include-notes # include [[notes]] in PDFValidate
hekaya validate script.hekaya
# Checks: title page, scene headings, orphaned dialogue, empty bodyConvert between formats
hekaya convert script.hekaya -o script.fountain
hekaya convert script.fountain -o script.hekayaExample
# Write a screenplay
cat > film.hekaya << 'EOF'
العنوان: آخر أيام الصيف
سيناريو: سمير عبدالحميد
داخلي - قهوة بلدي - نهار
سمير قاعد لوحده في ركن القهوة.
@سمير
(بهدوء)
قهوة سادة، لو سمحت.
EOF
# Export to PDF
hekaya export film.hekaya -o film.pdfLicense
MIT
