0.10.0 • Published 12 months ago

@daklang/cli v0.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@daklang/cli

This package provides a CLI for the Dak Language.

Wrapper

Adding this as a dependency provides a shell script wrapper that executes node with the loader. This is handy if you want to write CLI scripts. See for example the scripts section of how the website is built.

npm i @daklang/cli
echo '(console.log :hello)' > hello.dak
./node_modules/.bin/dak hello.dak

NPX

This also allows for usage via npx:

echo '(console.log :hello)' > hello.dak
npx @daklang/cli hello.dak

npx is slow, so install the package and use the dak script directly for best results.

Transpiler

A simple transpiler for CLI usage is also available:

echo '(console.log :hello)' | npx --package @daklang/cli -c dak-transpile
0.10.0

12 months ago

0.9.0

1 year ago

0.8.0

1 year ago

0.9.2

1 year ago

0.9.1

1 year ago

0.5.0

1 year ago

0.7.0

1 year ago

0.6.0

1 year ago

0.4.0

1 year ago

0.1.0

1 year ago