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

hyperledger / fabric-x-committer / 23785829163 / 2
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 31 Mar 2026 07:38AM UTC
Files 79
Run time 3s
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

31 Mar 2026 07:32AM UTC coverage: 75.331%. Remained the same
23785829163.2

push

github

web-flow
[cmd] restructure and remove redundant flags (#496)

#### Type of change

- Improvement (improvement to code, performance, etc)
 
#### Description

- Move start commands from cmd/config/cmd.go to
cmd/committer/start_cmd.go
- Consolidate start commands using switch-case pattern, eliminating
duplication
- Create cmd/cliutil package for shared CLI utilities (VersionCmd,
SetDefaultFlags)
   - Move test helpers from cmd/config to cmd/cliutil/test_exports.go
- Remove redundant CLI flags (--endpoint, --metrics-endpoint, --verbose,
--parallelism, --ledger-path, etc.) that duplicate YAML/env var config
   - Simplify SetDefaultFlags to only register --config flag
- Remove unused CobraInt/CobraString/CobraBool/CobraDuration flag
helpers

   The config package retains config-reading utilities, viper defaults,
    and template definitions. Command wiring is now colocated with the
    binary that uses it.

    

#### Related issues

 - resolves hyperledger/fabric-x-committer#495

---------

Signed-off-by: Senthilnathan <cendhu@gmail.com>

4434 of 5886 relevant lines covered (75.33%)

1066.64 hits per line

Source Files on job unit-test - 23785829163.2
  • Tree
  • List 79
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23785829163
  • fe43764e on github
  • Prev Job for on main (#23751537229.1)
  • Next Job for on main (#23796255643.2)
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