Repository navigation
v1.2.0
Config Wizard Integration
The srepd config command now runs inside the srepd TUI as an inline mode, replacing the previous standalone form. The wizard uses srepd's styles, header, and help system.
New Features
- Inline config wizard —
srepd configopens the wizard inside the TUI, no separate program or terminal flash - Auto-detect missing config — running
srepdwith no config file automatically enters the wizard - Token validation — PD API token is validated before advancing to team selection
- Human-readable names — team names, escalation policy names shown alongside IDs in prompts and summary
- Old format migration —
service_escalation_policiesautomatically migrated to newdefault_silent_escalation_policy+custom_service_escalation_policieskeys, old block commented out - Complete config files — new configs include all required keys plus defaults for optional settings
- Contextual help — each prompt includes guidance on where to find the required data in PagerDuty
Config Format
- New keys:
default_silent_escalation_policy,custom_service_escalation_policies - Old key
service_escalation_policiesis deprecated and auto-commented on migration - Config file written with defaults for
editor,terminal,cluster_login_command,toolbox_mode,chord_prefix
Pure Config Functions
- Config resolution, change detection, and file writing extracted to
pkg/config/package with full test coverage