Additional directives

This commit is contained in:
Endeavorance 2025-02-12 18:56:45 -05:00
parent 542d28cb53
commit 3c6d7c18cd
7 changed files with 304 additions and 166 deletions

17
src/usage.ts Normal file
View file

@ -0,0 +1,17 @@
import { version } from "../package.json" with { type: "json" };
import chalk from "chalk";
export const usage = `
${chalk.bold("muse")} - Compile and validate Playbills for Proscenium
${chalk.dim(`v${version}`)}
Usage:
muse [/path/to/binding.yaml] <options>
Options:
--check Only load and check the current binding and resources, but do not compile
--write Write the output to a file. If not specified, outputs to stdout
--outfile Specify the output file path [default: playbill.json]
--verbose, -v Verbose output
--help, -h Show this help message
`.trim();