Skip to main content
The Core Builds CLI produces the same AIOStreams template JSON as the Configurator — it uses the same shared @core-builds/core package under the hood.
CLI v1 is generate/validate/compare only. There is no account login, deployment, or mutation support.

Installation

Verify the installation:

Generating templates

The only required flag is --service. Everything else has sensible defaults. Without --output, the template JSON is written to stdout so you can pipe it:

Size limit

Use --size-limit to cap the maximum file size in generated templates:
This sets config.size.global.movies[1] and config.size.global.series[1] to 10,000,000,000 bytes and adds a size(streams,'1B','10GB') excluded stream expression. Without --size-limit, generous default bounds are used and no restrictive size ESE is added.

Validating templates

Checks the template against the AIOStreams schema. Add --strict to treat warnings as errors:

Comparing templates

Shows a human-readable summary of differences. Add --json for machine-readable output:
Exit codes follow Unix convention: 0 means identical, 1 means differences found.

Security and redaction

Credentials (apiKey, password, secret, authKey, token) are automatically redacted in all diff output — both human-readable and JSON. Credential values never appear in CLI output, error messages, or stack traces.

Inspecting templates

Shows metadata, preset counts, expression counts, sort sections, deduplicator config, and file size.

Listing available options

Golden equivalence

The CLI is verified to produce identical output to the Configurator for all supported combinations. The test suite compares CLI output against Configurator golden fixtures, normalizing only volatile metadata (generatedAt, id). Configuration differences are never ignored.

What the CLI does not do

CLI v1 focuses on offline template operations:
  • No Stremio account login
  • No deployment to AIOStreams instances
  • No addon management
  • No credential storage
Use the Configurator for account-connected features.