Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.44 KB

File metadata and controls

44 lines (31 loc) · 1.44 KB

cre init

Initialize a new cre project (recommended starting point)

Synopsis

Initialize a new CRE project or add a workflow to an existing one.

This sets up the project structure, configuration, and starter files so you can build, test, and deploy workflows quickly.

Templates are fetched dynamically from GitHub repositories.

cre init [optional flags]

Options

  -h, --help                   help for init
  -p, --project-name string    Name for the new project
      --refresh                Bypass template cache and fetch fresh data
      --rpc-url stringArray    RPC URL for a network (format: chain-name=url, repeatable)
  -t, --template string        Name of the template to use (e.g., kv-store-go)
  -w, --workflow-name string   Name for the new workflow

Options inherited from parent commands

      --allow-unknown-chains   Skip chain-name validation against the chain-selectors registry (for experimental chains)
  -e, --env string             Path to .env file which contains sensitive info
      --non-interactive        Fail instead of prompting; requires all inputs via flags
  -R, --project-root string    Path to the project root
  -E, --public-env string      Path to .env.public file which contains shared, non-sensitive build config
  -T, --target string          Use target settings from YAML config
  -v, --verbose                Run command in VERBOSE mode

SEE ALSO

  • cre - CRE CLI tool