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

CyberDuck79 / duckfile
72%
main: 80%

Build:
Build:
LAST BUILD BRANCH: fix/sonarqube-code-quality-issues
DEFAULT BRANCH: main
Repo Added 10 Aug 2025 04:23PM UTC
Files 26
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

LAST BUILD ON BRANCH feat/config-flag
branch: feat/config-flag
CHANGE BRANCH
x
Reset
  • feat/config-flag
  • 10-provide-allowdeny-list
  • 30-default-target-property-as-ref
  • 68-separated-targets-and-remotes-configurations
  • 7-verbose-and-debug-flags
  • 8-optional-sha256-checksum-pinning-for-the-template-file
  • chore/refactor-run-split-tests
  • dependabot/go_modules/github.com/spf13/cobra-1.10.1
  • dependabot/go_modules/github.com/spf13/pflag-1.0.10
  • dependabot/go_modules/github.com/spf13/pflag-1.0.9
  • dependencies-update
  • docs/remove-shallow-option
  • feat/add-emojis-to-info-messages
  • feat/security-config-files
  • feat/self-copy-rendered
  • feat/submodules-support
  • feat/two-tier-cache-refactor
  • feature/cli-command-testing
  • feature/commit-hash-tracking
  • feature/enhance-init-add-wizard
  • feature/env-file-support
  • feature/environment-variables
  • feature/exec-command-conflict-resolution
  • fix-release-ci
  • fix/sonarqube-code-quality-issues
  • fix/wizard-validation-improvements
  • golangci-lint
  • improve-command-help-text
  • log-level
  • main
  • sync-exec-refacto
  • update-readme-fix-codecov

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

Relevant lines Covered
Build:
Build:
1521 RELEVANT LINES 1096 COVERED LINES
9.68 HITS PER LINE
Source Files on feat/config-flag
  • Tree
  • List 14
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
17049931164 feat/config-flag 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 - Enh... Pull #51 18 Aug 2025 07:04PM UTC CyberDuck79 github
72.06
See All Builds (107)
  • Repo on GitHub
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

© 2025 Coveralls, Inc