• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CyberDuck79 / duckfile / 17049931164
72%
main: 80%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/spf13/cobra-1.10.2
DEFAULT BRANCH: main
Ran 18 Aug 2025 07:04PM UTC
Jobs 1
Files 14
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Aug 2025 07:03PM UTC coverage: 72.058% (+0.5%) from 71.553%
17049931164

Pull #51

github

CyberDuck79
feat: add --config flag for custom configuration file paths

- Add global --config/-c persistent flag available to all commands
- Add DUCK_CONFIG environment variable support
- Implement config precedence: CLI flag > env var > auto-discovery
- Enhance loadConfig() with proper error handling for missing files
- Add comprehensive test suite covering all precedence scenarios
- Update README with configuration discovery section and examples
- Maintain full backward compatibility with existing behavior

This enables multi-environment workflows, CI/CD flexibility, and team
customization while following standard CLI patterns.
Pull Request #51: feat: add --config flag for custom configuration file paths

38 of 43 new or added lines in 1 file covered. (88.37%)

1 existing line in 1 file now uncovered.

1096 of 1521 relevant lines covered (72.06%)

9.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
77.55
4.98% cmd/duck/root.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.55
4.98% cmd/duck/root.go
Jobs
ID Job ID Ran Files Coverage
1 17049931164.1 18 Aug 2025 07:04PM UTC 14
72.06
GitHub Action Run
Source Files on build 17049931164
  • Tree
  • List 14
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #51
  • PR Base - main (#17024913997)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc