Skip to content

mattiasthalen/qlik-parser

Repository files navigation

qlik-parser

CI Latest Release License: MIT

Extract artifacts from QlikView (.qvw) and Qlik Sense (.qvf) files.

Quick Start

qlik-parser extract --source ./qlik-apps --out ./scripts

This scans ./qlik-apps recursively for .qvw and .qvf files and writes extracted artifacts to ./scripts, creating a folder per source file (e.g. ./scripts/sales.qvf/script.qvs).

Installation

Download the binary for your platform from the Releases page.

Platform Archive
Linux (amd64 / arm64) .tar.gz
macOS (amd64 / arm64) .tar.gz
Windows (amd64 / arm64) .zip

Linux / macOS:

tar -xzf qlik-parser_<version>_<os>_<arch>.tar.gz
chmod +x qlik-parser
mv qlik-parser /usr/local/bin/   # or any directory on your PATH

Windows:

Extract the .zip and move qlik-parser.exe to a directory on your PATH.

Usage

extract

Recursively scans --source for .qvw and .qvf files and extracts embedded artifacts.

qlik-parser extract [flags]

Flags:

Flag Short Default Description
--script false Extract load scripts
--measures false Extract master measures (QVF only)
--dimensions false Extract master dimensions (QVF only)
--variables false Extract variables (QVF only)
--source -s current directory Source directory to scan
--out -o alongside source files Output directory
--dry-run false Preview without writing files

No artifact flags passed → all artifacts extracted. Explicit flags → only those artifact types.

Output path behaviour:

  • --out specified: mirrors source folder structure under the output directory, one folder per source file
  • --out omitted: creates a folder per source file alongside the source

Example — dry run:

qlik-parser extract --source ./qlik-apps --dry-run

version

qlik-parser version

Prints the current version, e.g. qlik-parser v0.1.0.

Global flags

Flag Default Description
--log-level disabled Log level: debug, info, warn, error, disabled