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

carapace-sh / carapace-spec / 28676925400

03 Jul 2026 06:12PM UTC coverage: 38.91% (+0.1%) from 38.773%
28676925400

Pull #428

github

Crush
add optional default value for flags in extended notation

Allows setting a default value for flags using the extended YAML
notation (alongside nargs). Works for all flag types (string, bool,
count, slice) via pflag's Value.Set(). The default is stored as a
string and type-converted by pflag at registration time.

💘 Generated with Crush

Assisted-by: Crush:glm-5.2
Pull Request #428: add optional default value for flags in extended notation

10 of 17 new or added lines in 2 files covered. (58.82%)

621 of 1596 relevant lines covered (38.91%)

0.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

70.0
/pkg/command/flagset.go


Source Not Available

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