darklua 0.18.0

Transform Lua scripts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
source: tests/cli.rs
expression: content
---
Convert a data file [json, json5, yaml, toml] into a Lua file

Usage: darklua convert [OPTIONS] <INPUT> [OUTPUT]

Arguments:
  <INPUT>   Data file to convert to Lua
  [OUTPUT]  Path where to write the Lua file

Options:
  -f, --format <FORMAT>  Data format ('json', 'yaml' or 'toml')
  -v, --verbose...       Sets verbosity level (can be specified multiple times)
  -h, --help             Print help
  -V, --version          Print version