Sapphire CLI Config
Scheme for Sapphire CLI Config (@sapphire/cli)
| Type | object |
|---|---|
| File match |
.sapphirerc.json
.sapphirerc.yml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/sapphire-cli-config/latest.json |
| Source | https://raw.githubusercontent.com/sapphiredev/cli/main/templates/schemas/.sapphirerc.scheme.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Scheme for Sapphire CLI Config (@sapphire/cli)
Properties
projectLanguage
string
required
Project language (ts | js)
locations
object
required
Categories and their locations
7 nested properties
base
string
required
arguments
string
required
commands
string
required
listeners
string
required
preconditions
string
required
interaction-handlers
string
required
routes
string
customFileTemplates
object
required
Settings about custom component (piece) templates
2 nested properties
enabled
boolean
required
Enable custom file templates
location
string
required
Location of your custom file templates