Files
Jason Thistlethwaite 9ee9eb3ec6 Organized
2026-10-17 20:50:35 -04:00

1.2 KiB

Config files / short aliases (minimal)

Parent: ../features-for-redmine_tickets-sync
Status: minimal MVP (global defaults + bin wrappers). Nested per-command defaults deferred.

Runtime config

./redmine_tickets.py --config configs/live.json search --max-tickets 10
./redmine_tickets.py --config configs/dev.json note --issue-id 39305 --body 'x' --apply

JSON (always works) or YAML if PyYAML is installed.

Supported top-level keys (also under redmine_tickets:):

  • base-url / base_url
  • project
  • cache-dir / cache_dir
  • allow-prod-writes (bool)

CLI flags already present win over config.

Short wrappers (bin/)

Command Maps to
bin/rtl live/prod CS (configs/live.json)
bin/rtd LAN/dev CS (configs/dev.json)
bin/qaa alias → rtl (muscle-memory example)
./bin/rtl search --where 'assigned_to IS NULL' --max-tickets 5
./bin/rtl --allow-prod-writes draft apply <id>
./bin/rtd note --issue-id 39305 --body 'LAN note' --apply

Not yet

  • Nested search.max-tickets / command-specific defaults from YAML namespaces
  • Auto-discovery of many named profiles beyond live/dev