How mattiasthalen/qlik-parser works
qlik-parser is a CLI for scanning QlikView (.qvw) and Qlik Sense (.qvf) files and exporting embedded artifacts. The main workflow dispatches extract, discovers source files, parses each format, selects and encodes requested artifacts, then writes them into per-source output folders while reporting per-file results. QVW supports load scripts; QVF supports scripts, master measures, master dimensions, and variables. The documented version command is a separate branch. Relationships follow the sampled command and extractor code; no external service or persistent database is involved.
Main entry points: extract.go Extract command · root.go Root command · main.go Program entry · walker.go File walker
Components 13
CLI commands
- Program entry
main.go - Root command
cmd/root.go - Extract command
cmd/extract.go - Version command
cmd/version.go
File parsing
- File walker
internal/extractor/walker.go - QVW script parser
internal/extractor/qvw.go - QVF artifact parser
internal/extractor/qvf.go
Export and reporting
- Output path resolver
internal/extractor/exporter.go - Artifact writer
internal/extractor/exporter.go - Result printer
internal/ui/output.go
Other components
- CLI user
- Source files
- Output files
Connections 14
- CLI user → Program entry: runs
- Program entry → Root command: executes
- Root command → Extract command: dispatches
- Root command → Version command: dispatches
- Extract command → File walker: scans
- File walker → Source files: finds files
- Extract command → QVW script parser: extracts script
- Extract command → QVF artifact parser: parses artifacts
- QVW script parser → Source files: reads
- QVF artifact parser → Source files: reads
- Extract command → Output path resolver: resolves path
- Extract command → Artifact writer: writes artifacts
- Artifact writer → Output files: writes
- Extract command → Result printer: reports results