@aihu/cli
v0.8.2
Published
Aihu CLI (`aihu`, `create-aihu`) — scaffolding, dev, build commands.
Readme
@aihu/cli
Aihu — agentic discovery and interaction, for human purpose.
Aihu CLI (aihu, create-aihu) — scaffolding, dev, build commands.
Part of the compiler + toolchain layer of Aihu. Build-time only — does not ship to the client. The compiler reads .aihu SFC source (per the Block Structure spec) and emits standards-compliant Web Components.
The aihu CLI is the entry point to an Aihu project. It scaffolds new apps,
pages, components, and plugins, then runs the dev and build cycle — all from a
single binary with zero external npm dependencies (Node/Bun builtins only).
# Scaffold a new app
bunx @aihu/cli app my-app
cd my-app
# Inside the project
aihu page about # add a page
aihu component Button # add a component
aihu dev # start the dev server
aihu build # build for productionThe CLI also ships aihu migrate, the mechanical codemod that rewrites legacy
v0.1.x .aihu source to the v1.0 canonical grammar (HTML-tag framing →
@block {}, Vue-shape and plain-curly attributes → $-prefixed bindings, and
the @aihu/data / @aihu/agent-readiness → @aihu-plugin/* renames). See
docs/cli.md for the full command reference.
Install
# Scaffold a new app
bunx @aihu/cli app my-app
# Or install globally
bun add -g @aihu/cliAuto-generated against @aihu/[email protected].
Package facts
| | |
|---|---|
| Version | 0.8.2 |
| Tier | D — Toolchain — aihu / create-aihu CLI |
| Published files | 3 entries |
| License | MIT |
Auto-generated against @aihu/[email protected].
Exports
| Subpath | ESM | CJS |
|---|---|---|
| . | ./dist/index.js | — |
Auto-generated against @aihu/[email protected].
Dependencies
Dependencies:
@aihu/mcp—workspace:*
Auto-generated against @aihu/[email protected].
See also
Auto-generated against @aihu/[email protected].
License
MIT — see LICENSE.
Auto-generated against @aihu/[email protected].
