-
Notifications
You must be signed in to change notification settings - Fork 0
import command
Frank Stüber edited this page Jun 16, 2026
·
4 revisions
Imports data from a supported source format into an existing OpenCodeList file.
ocl import
{--file | -f} <file-path>
--from-format csv
--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 OpenCodeList file.
The following source formats are supported:
- Comma-Separated Values (CSV)
Imports data from a CSV file into an existing OpenCodeList 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:
csv
-
--from-fileSpecifies the source file to import.