Skip to main content

bb-eco template validate

Validate a template file without applying

Usage

bb-eco template validate <file> [options]

Arguments

NameDescription
<file>Template file path (.json)

Options

OptionDescription
--csvOutput in CSV format
--jsonOutput in JSON format
--timeout <timeout>Override default timeout in milliseconds
--verboseEnable verbose/debug output
-?, -h, --helpShow help and usage information

Examples

Validate a template file before committing it or applying it to a fleet:

bb-eco template validate es-522-baseline.json
Family: ES
Model: ES-522
Template is valid.
Family: ES
Models: ES-522
Sections: network, serial (2 ports), device

Validation checks the JSON shape, the schema version, and that every value is inside the range the device firmware accepts. It runs entirely offline — no device is contacted — so it works in CI pipelines that gate template changes.

note

template apply parses strict JSON. If you started from a commented .jsonc reference template, strip the comments before validating or applying.

This page is auto-generated from the live CLI help text. Do not edit by hand - re-run node scripts/gen-cli-reference.mjs after changes. Example sections are maintained in docs/cli-examples/ in the bb-eco repo.