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

sripwoud / cza / 18059564742

27 Sep 2025 12:07PM UTC coverage: 85.89% (-4.9%) from 90.787%
18059564742

push

github

web-flow
fix(cli): restructure NewArgs to resolve clap validation error (#22)

The template argument was a positional optional argument before the required
project_name argument, which violates clap's validation rules. Fixed by:

- Moving project_name to first position (required positional argument)
- Converting template to a flag argument (--template, -t)
- Updating all unit and integration tests to use new structure

This maintains the config integration functionality where template can be
optional and fall back to config.user.default_template.

6 of 6 new or added lines in 1 file covered. (100.0%)

109 existing lines in 3 files now uncovered.

980 of 1141 relevant lines covered (85.89%)

7.65 hits per line

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

99.02
/cli/src/output.rs


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