-
Notifications
You must be signed in to change notification settings - Fork 0
import command
Frank Stüber edited this page Jun 17, 2026
·
4 revisions
Imports data from a supported source format into an existing code list document file (in OpenCodeList format).
ocl import
{--file | -f} <file-path>
--from-format { csv | ssv }
--from-file <file-path>
For an explanation of the command-line notation, see Command-Line Syntax.
The import command imports data from a supported source format into an existing code list document file (in OpenCodeList format).
The following source formats are supported:
- Comma-Separated Values (CSV)
- Semicolon-Separated Values (SSV)
Imports data from a CSV file into an existing code list file.
ocl import --file countries.ocl --from-format csv --from-file countries.csv
-
--fileor-fSpecifies the OpenCodeList file to be updated.
-
--from-formatSpecifies the source file format.
Supported values:
csvssv
-
--from-fileSpecifies the source file to import.