← 全部工具

fengari-node-cli

热度 65 更新于 开发与构建

The Lua command line application, but using fengari under node

npmauto-collected

安装

npm
npm install -g fengari-node-cli

通过 npm 安装。

fengari-node-cli

The Lua command line application, but using fengari under node.js

This project consists of fengari and fengaric command line applications that provide functionality equivalent to the lua and luac programs.

Installation

Use npm or yarn:

npm install -g fengari-node-cli

Usage

usage: fengari [options] [script [args]]
Available options are:
  -e stat  execute string 'stat'
  -i       enter interactive mode after executing 'script'
  -l name  require library 'name'
  -v       show version information
  -E       ignore environment variables
  --       stop handling options
  -        stop handling options and execute stdin
usage: fengaric [options] [filename]
Available options are:
  -l       list (use -l -l for full listing)
  -o name  output to file 'name' (default is "fengaric.out")
  -p       parse only
  -s       strip debug information
  -v       show version information
  --       stop handling options
  -        stop handling options and process stdin