nichlink-cli 0.1.3

NichLink command-line interface: project scaffolding, Studio, and the MCP bridge
Documentation
[package]
name = "nichlink-cli"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository = "https://github.com/Nichtigott/nichlink"
homepage = "https://github.com/Nichtigott/nichlink"
description = "NichLink command-line interface: project scaffolding, Studio, and the MCP bridge"
keywords = ["cli", "cargo-subcommand", "scaffolding", "codegen"]
categories = ["command-line-utilities", "development-tools::cargo-plugins", "development-tools"]
readme = "README.md"
documentation = "https://docs.rs/nichlink-cli"
# Two binaries ship from this package, so `cargo run -p nichlink-cli` has to be
# told which one; the README commands name `studio`, and every other documented
# use is the `nichlink` entry point. `cargo-nichlink` keeps working by name.
# 本包出厂两个二进制,因此 `cargo run -p nichlink-cli` 必须被告知运行哪一个;README 的命令
# 指的就是 `studio`,其余文档化用法都是 `nichlink` 入口。`cargo-nichlink` 按名字照常可用。
default-run = "nichlink"
autobins = false

[dependencies]
nichlink-build-method = { path = "../build_method", version = "0.1.3" }
nichlink-mcp = { path = "../mcp", version = "0.1.3" }
nichlink-studio = { path = "../studio", version = "0.1.3" }
# The kernel owns the vocabulary the operator commands read at runtime: the
# structured `BuildDiagnostics` that `check --json` serializes, the
# `GraftPlanDocument` parser `grafts` reuses instead of adding a run_method
# dependency, and `NodeId`/`lexicon` for resolving and locating a host's data.
# 内核拥有操作命令在运行期读取的词表:`check --json` 序列化的结构化
# `BuildDiagnostics`、`grafts` 复用(以免新增 run_method 依赖)的
# `GraftPlanDocument` 解析器,以及用于解析节点身份、定位宿主数据的
# `NodeId`/`lexicon`。
nichlink-core = { path = "../core", version = "0.1.3" }
# The package name decides the NodeId namespace, so it is read from
# `cargo metadata` instead of a hand-rolled manifest scan.
# 包名决定 NodeId 命名空间,因此改从 `cargo metadata` 读取,而不是手写扫描 manifest。
serde_json = "1"

[lib]
name = "nichlink_cli"
path = "src/lib.rs"

[[bin]]
name = "nichlink"
path = "src/bin/nichlink.rs"
doc = false

[[bin]]
name = "cargo-nichlink"
path = "src/bin/cargo-nichlink.rs"
doc = false