@towerjs/scribe
v0.1.1
Published
CLI for scaffolding and managing Tower applications
Readme
@towerjs/scribe
CLI for scaffolding and managing Tower applications. Powers the tower command and the create-tower package.
Installation
pnpm add -g @towerjs/scribeOr use directly:
npx @towerjs/scribe <command>Commands
create
Scaffolds a new Tower application with interactive prompts.
tower createPrompts for project name, TypeScript or JavaScript, Tailwind, framework (Next.js), modules (Vault, Gatehouse, Courier, etc.), and deployment target.
migrate
Runs database migrations for the Vault module.
tower migrateseed
Runs database seeds for the Vault module.
tower seedabout
Shows the current Tower version, configuration path, environment, runtime, enabled modules, providers, and required environment-variable presence. It never prints secret values.
npx tower about # in a Tower project (resolves the local @towerjs/scribe bin)
pnpm dlx @towerjs/scribe about # standalone, without installingNote: a package named
toweralso exists on npm, andpnpm dlxalways fetches the package named on the command line (it does not check local bins). So in a project usenpx towerorpnpm exec tower; withdlx, always name the package explicitly:pnpm dlx @towerjs/scribe.
help / --version
tower help shows usage; tower --version (or -v) prints the version.
Programmatic API
import { createCommand } from '@towerjs/scribe/commands/create'
await createCommand()Included in
- create-tower —
pnpm create tower
