0.0.6 • Published 3 years ago

@beatak-org/vaceline-trunk v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Vaceline — VCL Transpiler

Vaceline is a tool for trasforming VCL with JS plugins via AST.

NOTE: this project is still in development.

You can try it on the Web now (also still beta)

Install

yarn add -D vaceline

Usage

yarn vaceline src -d dist
$ yarn vaceline --help

vaceline [source]

Transpile VCL

Positionals:
  source  Source file/dir to transpile                                  [string]

Options:
  --stdin        Accept input from stdin                               [boolean]
  --ast          Output as AST                                         [boolean]
  -d, --out-dir  Output dir                                             [string]
  --debug        Enable debug logging                                  [boolean]
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]

Examples:
  - vaceline path/to/file.vcl
  - vaceline path/to/dir
  - cat file | vaceline --stdin
  - vaceline file -d dist