@inlang/paraglide-js
Version:
[](https://inlang.com)
11 lines (10 loc) • 424 B
JavaScript
import { Command } from "commander";
import { compileCommand } from "./commands/compile/command.js";
import { ENV_VARIABLES } from "../services/env-variables/index.js";
import { initCommand } from "./commands/init/command.js";
export const cli = new Command()
.name("paraglide-js")
.addCommand(compileCommand)
.addCommand(initCommand)
.showHelpAfterError()
.version(ENV_VARIABLES.PARJS_PACKAGE_VERSION);