mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-30 13:26:54 -06:00
clap derive types replace the hand-written parser: typed values, usage errors (exit 2) before any work, help from the same definitions. Syntax changes: a repeated option is a usage error (was: last wins; the automation roots still repeat); a value starting with `-` needs `=`; a positional starting with `-` needs `--`; `--o` and the `version` subcommand are gone (`--version` stays); `<sub> --help` prints that subcommand's help; usage errors are clap's text; `--format` is checked before the file is opened.
27 lines
680 B
TOML
27 lines
680 B
TOML
[package]
|
|
name = "figcraft-cli"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
description = "FigCraft command line: info, export, convert, render, scripted commands, MCP server, perf"
|
|
|
|
[[bin]]
|
|
name = "figcraft-cli"
|
|
path = "src/main.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
figcraft-engine = { workspace = true }
|
|
figcraft-doc = { workspace = true }
|
|
figcraft-render = { workspace = true }
|
|
figcraft-text = { workspace = true }
|
|
figcraft-svg = { workspace = true }
|
|
figcraft-format = { workspace = true }
|
|
figcraft-mcp = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
clap = { workspace = true }
|
|
thiserror = { workspace = true }
|