Documentation
Print the Fireclass configuration resolved from the nearest project root.
config reads and displays the project's fireclass.json.
fireclass configThe command has no command-specific options and never modifies the file.
Like every CLI command, config walks upward from the current directory to the
nearest package.json, then reads fireclass.json from that project root.
This is useful in workspaces:
cd apps/web/src/models
npx fireclass configThe nearest package, not necessarily the repository root, controls the result.
The command prints the parsed configuration with indentation:
{
"$schema": "https://fireclass.ayushdhar.com/schema.json",
"version": "2.1.17",
"framework": "react",
"packageManager": "pnpm",
"package": "@dharayush7/fireclass-react",
"firebase": {
"path": "src/lib/firebase.ts",
"export": "db",
"factory": false
},
"fireclass": {
"path": "src/lib/fireclass.ts"
},
"models": {
"dir": "src/models"
}
}Read the fireclass.json reference for every field and framework-specific constraints.
config confirms only that the file exists and parses as JSON. It does not:
schema.json.Run doctor after inspecting or manually changing the configuration.
Human-readable output
The command uses the CLI's formatted terminal UI around the JSON. Read
fireclass.json directly when another program requires machine-only JSON.
The command exits non-zero when no parent package.json exists, when
fireclass.json is missing, or when the configuration cannot be parsed.