Additional directives
This commit is contained in:
parent
542d28cb53
commit
3c6d7c18cd
7 changed files with 304 additions and 166 deletions
17
src/usage.ts
Normal file
17
src/usage.ts
Normal 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();
|
Loading…
Add table
Add a link
Reference in a new issue