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

caicloud / nirvana / 583 / 1
46%
master: 46%

Build:
DEFAULT BRANCH: master
Ran 29 Mar 2018 11:10AM UTC
Files 67
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

29 Mar 2018 11:05AM UTC coverage: 60.454% (+0.4%) from 60.059%
583.1

push

travis-ci

caicloud-bot
 feat(config): use table printer to format help message (#194)

Automatic merge from submit-queue.

 feat(config): use table printer to format help message

**What this PR does / why we need it**:

Use table printer to format help message.
```
➜  testnirvana ./testnirvana --help
ConfigKey-ENV-Flag Mapping Table

   Config Key                   ENV                          Flag                    Current Value
1  server.ip                    SERVER_IP                    --ip
2  server.metrics.namespace     SERVER_METRICS_NAMESPACE     --metrics-namespace
3  server.metrics.path          SERVER_METRICS_PATH          --metrics-path          /metrics
4  server.port                  SERVER_PORT                  --port                  8080
5  server.profiling.contention  SERVER_PROFILING_CONTENTION  --profiling-contention  false
6  server.profiling.path        SERVER_PROFILING_PATH        --profiling-path        /profiling

Usage:
  server [flags]

Flags:
  -h, --help                       help for server
      --ip string                  Nirvana server listening IP
      --metrics-namespace string   Metrics namespace
      --metrics-path string        Metrics path (default "/metrics")
      --port uint16                Nirvana server listening Port (default 8080)
      --profiling-contention       Enable contention profiling
      --profiling-path string      Profiling path (default "/profiling")
```

It's more readable than before.

**Which issue(s) this PR fixes** *(optional, close the issue(s) when PR gets merged)*:

Fixes #

**Special notes for your reviewer**:

/cc @zoumo 
/cc @ddysher 

**Release note**:


```release-note
NONE
```

<!--  Thanks for sending a pull request! Here are some tips:

1. https://github.com/caicloud/engineering/blob/master/docs/review_conventions.md  <-- what is the review process looks like
2. https://github.com/caicloud/engineering/blob/master/docs/commit_conventions.md  <-- ... (continued)

3114 of 5151 relevant lines covered (60.45%)

37.13 hits per line

Source Files on job 583.1
  • Tree
  • List 0
  • Changed 21
  • Source Changed 1
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 583.1
  • 5f960237 on github
  • Prev Job for on master (#579.1)
  • Next Job for on master (#584.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