CLICommands
resetLast updated on
Last updated on
Reset CLI to factory defaults
Reset the OpenForm CLI to factory defaults.
Usage
ofm reset [options]Options
| Option | Description |
|---|---|
-y, --yes | Skip confirmation prompt |
--keep-registries | Keep registry configurations |
--keep-cache | Keep cached data |
Description
Performs a factory reset of the CLI by:
- Clearing the registry cache (
~/.open-form/cache) - Removing all installed renderer plugins (
~/.open-form/renderers) - Creating a fresh default configuration (
~/.open-form/config.json)
You will be prompted for confirmation unless --yes is passed.
Examples
Full reset:
ofm reset -yReset but keep registries:
ofm reset --keep-registriesReset but keep cache:
ofm reset --keep-cacheOutput
OpenForm CLI Reset
This will:
• Create fresh default config (~/.open-form/config.json)
- Registry configurations will be removed
• Clear cache (~/.open-form/cache) - 45.2 KB
✓ Cleared 12 cached entries
✓ Cleared installed renderers
✓ Created default configuration
✓ OpenForm CLI has been reset to factory defaults
Default settings:
Output format: json
Artifacts directory: artifacts
Cache TTL: 3600s (1 hour)
Cache directory: ~/.open-form/cache
Telemetry: enabled