lizard init

Create or select a project and link it to the current directory.

Usage

lizard init [flags]

Flags

FlagDescription
-n, --name <name>Project name (create if missing)
-w, --workspace <ws>Workspace id, slug, or name
--forceRelink even if already linked

Examples

lizard init

lizard up will run init for you on a TTY, but in a non-TTY (CI) environment it errors instead of silently creating a project. Link explicitly first:

export LIZARD_TOKEN=lzd_xxx
lizard init --name my-project
lizard up --ci --service api
lizard init --name my-project --force

See also

  • lizard link — associate the current directory with an existing project instead of creating one
  • lizard status — show the linked workspace, project, and service for the current directory
  • lizard up — upload and deploy the current directory
  • Core Concepts — projects, services, and the build pipeline