Checkout related packages
Install via npm:
$ npm install -g @bavary/cli
Install via yarn:
$ yarn global add @bavary/cli
$ bvc [files] [options...]
Where files
can be any kind of directory, file or glob-pattern.
If no output file is specified (via --output
) it'll print the result to the console.
Flag | Explanation | Example |
---|---|---|
-w, --watch |
Watches source-files matched by [files] |
$ bvc src/**/*.bv input.txt --watch |
-v, --version |
Prints the current version | $ bvc --version |
-o, --output <file> |
Write results to disk | $ bvc --output result.json |
-p, --prettify |
Prettify result (Works only in combination with --output ) |
$ bvc --output result.json --prettify |
-h, --help |
Shows usage info | $ bvc --help |
- @bavary/core - Parser and compiler.
- @bavary/cli - CLI with development server.
- @bavary/bavary-lib - Standard library with extensions for bavary.
- @bavary/webpack-loader - Webpack loader for declaration files.