tuil
ReferencePackages

@mwillbanks/tuil-cli

CLI for initializing tuil applications and installing source-owned registry items and skills.

View rawEdit

Overview

CLI for initializing tuil applications and installing source-owned registry items and skills.

@mwillbanks/tuil-cli is independently installable and also participates in the umbrella @mwillbanks/tuil runtime where applicable.

Installation

npm install @mwillbanks/tuil-cli

How it operates

The CLI validates configuration, resolves registry dependency graphs, plans every write, and only then applies source-owned files. Initializers and installers share the same conflict-safe transaction boundary.

Documentation flow diagram. arguments; validation; plan; conflict check; write; receipt; S0 leads to S1; S1 leads to S2
Documentation flow diagram. arguments; validation; plan; conflict check; write; receipt; S0 leads to S1; S1 leads to S2

API

APISignatureDescription
InitAnswersexport InitAnswersPublic export InitAnswers.
InitWizardexport InitWizardPublic export InitWizard.
installBundledSkillsfunction installBundledSkillsPublic function installBundledSkills.
mainfunction mainPublic function main.
RegistryItemexport RegistryItemPublic export RegistryItem.
RegistryItemTypeexport RegistryItemTypePublic export RegistryItemType.

Events and lifecycle

The CLI does not publish runtime events. It reports deterministic command results and actionable errors to the invoking process.

All subscriptions and registrations return a disposer or belong to an owning runtime that disposes them in reverse order.

Example

npx @mwillbanks/tuil create my-terminal-app

On this page