init

Initialize a registry or project with jsrepo.

	jsrepo init

Usage

Choose to initialize a registry or project:

	jsrepo init

Initialize a project:

	jsrepo init --project

Initialize a registry:

	jsrepo init --registry

Initialize a project with registries:

	jsrepo init github/ieedan/std

Options

--repos

Deprecated The repositories to install the blocks from. (For project setup)

Usage

	jsrepo init --repos github/ieedan/std github/ieedan/shadcn-svelte-extras

--no-watermark

Sets the watermark config key to false. (For project setup)

Usage

	jsrepo init --no-watermark

--tests

Sets the tests config key to true. (For project setup)

Usage

	jsrepo init --tests

--formatter

Configure the formatter used when adding and updating blocks. (prettier, biome) (For project setup)

Usage

	jsrepo init --formatter prettier

-P, --project

Takes you through the steps to initialize a project.

Usage

	jsrepo init --project

-R, --registry

Takes you through the steps to initialize a registry.

Usage

	jsrepo init --registry

--script

The name of the build script. (For registry setup)

Usage

	jsrepo init --script build:registry

-y, --yes

Skips confirmation prompts. (Not including permissions prompts)

Usage

	jsrepo init --yes

--no-cache

Prevents caching the git provider state. Useful if the cache is incorrect due to changing the default branch for a repository or changing a tag into a head or vise versa.

Usage

	jsrepo init --no-cache

--cwd

Run the current command on the provided directory absolute or relative.

Usage

	jsrepo init --cwd ./packages/blocks

-h, --help

Help with the command.

Usage

	jsrepo init --help