Package Exports
- @femtomc/mu
Readme
@femtomc/mu
Node CLI (and programmatic wrapper) for the mu .mu/ issue DAG + forum store.
Install
After publishing:
npm install -g @femtomc/mu
# or: bun add -g @femtomc/muFrom this repo:
cd mu
bun install
bun run build
packages/cli/dist/cli.js --helpUsage
import { run } from "@femtomc/mu";
const r = await run(["status", "--json"]);
if (r.exitCode !== 0) throw new Error(r.stdout);
console.log(r.stdout);Tests / Typecheck
From the mu/ repo root:
bun test packages/cli
bun run typecheckRuntime
- Node-only (ESM).
- Reads/writes a
.mu/store at the git repo root (usemu initto create it).