create-rootward
v0.1.2
Published
Create Rootward project-oriented CLI templates.
Maintainers
Readme
create-rootward
create-rootward instantiates Rootward project-oriented CLI templates.
Rootward templates create CLIs that know how to initialize a project context, discover the project root, read project-local TOML configuration, expand source globs, respect .gitignore, dispatch scanner registries, and return stable human and JSON output.
Usage
pnpm create rootward typescript my-tool --cli-name my-tool --package-name my-toolpnpm create rootward rust my-tool --cli-name my-tool --crate-name my_tool_core --bin-name my-toolnpx create-rootward typescript my-tool --cli-name my-tool --package-name my-toolThen run the generated project:
cd my-tool
pnpm install
pnpm test
pnpm build
pnpm dev -- init
pnpm dev -- discover --jsonFor a generated Rust project:
cd my-tool
cargo test
cargo build
cargo run -- init
cargo run -- discover --jsonTemplates
| Template | Status |
|---|---|
| typescript | implemented |
| rust | implemented |
| python | reserved |
| go | reserved |
Reserved templates are declared by manifest and return TEMPLATE_NOT_IMPLEMENTED.
Contract
The public contract is maintained in the Rootward book:
License
Apache-2.0. See LICENSE.
