CLI

Command Reference

Last updated on

Complete reference for all Paradoc CLI commands

The Paradoc CLI provides commands for working with registries, authoring and rendering artifacts, managing projects, and configuring the CLI. The groups below match the output of paradoc --help.

Usage

paradoc <command> [options]

Global options:

OptionDescription
-h, --helpDisplay help for a command
-v, --versionDisplay CLI version
--no-telemetryDisable telemetry for this invocation

Registry

Commands for discovering and installing artifacts from registries.

CommandDescription
addAdd an artifact from a registry, or a document component or block
listList installed artifacts (alias: ls)
searchSearch for artifacts in a registry
registryManage registry configurations

Artifacts

Commands for creating, inspecting, rendering, and changing artifacts.

CommandDescription
showShow details about an artifact
validateValidate artifacts against the core schema
inspectInspect PDF form fields to aid in bindings configuration
renderRender an artifact layer
checkCheck a React composition against its artifact without rendering
newCreate a new artifact (form, document, checklist, bundle)
fixFix artifact metadata, such as layer checksums
versionBump the semantic version in an artifact file
attachAttach a file as a layer to an artifact
detachDetach a layer from an artifact
generateGenerate TypeScript types from artifacts
hashCompute SHA256 checksums for layer definitions
dataData operations (fill, template, validate, extract)
diffShow differences between two artifact files
migrateMigrate artifact files to the current schema version

Project

Commands for initializing and working in Paradoc projects.

CommandDescription
initInitialize a new Paradoc project
devPreview React compositions live beside their PDF
applyApply a unified diff patch to the working directory

Settings

Commands for configuring the CLI and opening related resources.

CommandDescription
configureInteractive configuration wizard (alias: config)
cacheManage registry cache
resetReset CLI to factory defaults
docsOpen documentation in browser
consoleOpen web console
aboutDisplay information about Paradoc

On this page