josent-cli
v0.2.1
Published
A CLI for curated template starters: clone a starter repo, reset its git history, and set up a new project interactively.
Maintainers
Readme
josent-cli
josent is an interactive CLI for installing curated template starters from a fixed catalog of GitHub repositories. It clones the starter you pick, removes its git history, optionally sets a new origin, and installs dependencies so you can start working immediately.
Usage
Run without installing:
npx josent-cli initOr install globally:
npm install -g josent-cli
josent initCommands
josent init [project-name] [destination]— interactive starter selection and project setup. If you omit the destination, josent clones into./<project-name>from the current folder.josent list— show the available starter catalog
josent init flags
-n, --name <name>— set the project name-d, --destination <path>— set the destination path--no-install— skip dependency installation
Global flags
-h, --help— show help text-v, --version— show the CLI version
init controls
While the starter list is open:
- type — filter the starter list
↑/↓— move the selectionEnter— choose the highlighted starterEsc— clear the search queryCtrl+C— cancel the flow
Requirements
- Node.js 18 or newer
gitavailable onPATHpnpmornpmfor dependency installation (npm is used as a fallback)
Development
Prerequisites: Bun 1.4 or newer.
bun install
bun run dev -- --help
bun run build
bun run checkCommit messages
Commit messages follow Conventional Commits. The commit-msg hook rejects messages that do not match the convention.
