weblate-luau 0.1.0

Generates a Luau table for weblate translations that are represented in basic JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use clap::Parser;
use std::path::PathBuf;

/// Arguments for the tool.
#[derive(Parser)]
#[command(
    version,
    name = "weblate-luau",
    about = "Generates a Luau table for weblate translations that are represented in basic JSON. \n\
    See https://gitlab.com/warsaw-revamped-oss/modding/weblateluau."
)]
pub struct Args {
    /// The root path of the localization folder.
    pub root: PathBuf,
    /// The path to the output file.
    pub output: PathBuf,
}