Expand description
Config import and export functionality.
Structs§
- Import
Summary - Summary of an import payload.
Enums§
- Export
Scope - What scope to export.
- Import
Merge Mode - How to handle conflicts during import.
Functions§
- apply_
import_ config - Apply an already-normalized config to a layer.
- export_
config - Export current merged config to a file.
- import_
config - Import configuration from an external opencode.json file.
- import_
snippet - Import a JSON/JSONC/TOML/YAML snippet into an app state layer.
- import_
source - Import from a local path or supported URL.
- parse_
import_ snippet - Parse an inline JSON/JSONC/TOML/YAML import snippet.
- parse_
import_ source - Parse an import source without mutating state.