@zalify/cli
v0.1.4
Published
Zalify CLI - command-line interface for Zalify
Readme
@zalify/cli
Zalify CLI – command-line interface for Zalify.
Install
npm i -g zalify
# or
npm i -g @zalify/cli@latestUsage
zalify version # Print version and check for updates
zalify -v # Same as --version (built-in)
zalify --version # Output current version onlyCommands
- version – Prints
Zalify CLI version: x.x.xand, if a newer version exists on npm, suggests runningnpm i -g @zalify/cli@latestto update.
Development
Requires Bun.
bun install
bun run dev version # Run CLI from source (TypeScript)
bun run build # Build to dist/
bun run typecheck # Type-check onlyPublishing
Publishing requires NODE_AUTH_TOKEN. Copy .env.example to .env and set your token (do not commit .env). You can also set NODE_AUTH_TOKEN in your shell.
Release only bumps the version in package.json (no git commit or tag). Commit and tag the version bump yourself if desired. Bun loads .env so NODE_AUTH_TOKEN is available.
bun run release # Default: patch (x.x.X)
bun run release -- -pa # Patch
bun run release -- -mi # Minor (x.X.0)
bun run release -- -ma # Major (X.0.0)The release scripts load .env and fail with a clear error if NODE_AUTH_TOKEN is missing.
To allow npm i -g zalify, publish the wrapper package after releasing @zalify/cli: from the repo root run npm publish --access public in the zalify/ folder (it depends on @zalify/cli and exposes the same binary).
