Skip to content

YAML to OSQL translator for PCD 2.0 migration

License

Notifications You must be signed in to change notification settings

Dictionarry-Hub/rosettarr

rosettarr

YAML to OSQL translator for Profilarr PCD 2.0 migration. Converts PCD 1.0 databases (YAML files) into PCD 2.0 format (Operational SQL).

Usage

# install dependencies once
npm install

# run the converter directly from TypeScript during development
npx tsx src/index.ts -i /path/to/yaml-database -o ops/1.initial.sql

Options

Flag Description Default
-i, --input <dir> Input directory containing YAML files ./data/input
-o, --output <file> Output SQL file path ./data/ops/1.initial.sql
-d, --dry-run Output SQL to console instead of writing to file
-q, --quiet Suppress verbose output
-h, --help Show help message

Requirements

  • Node.js 18+
  • npm (or pnpm/yarn)

About

YAML to OSQL translator for PCD 2.0 migration

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published