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

home-assistant / home-assistant-cli / 30
72%

Build:
DEFAULT BRANCH: dev
Ran 10 Dec 2018 08:00AM UTC
Jobs 1
Files 188
Run time 29s
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

pending completion
30

push

travis-ci-com

maxandersen
Add intial `--output=table` support

Why:

 * json/yaml raw dumps are not always the best way to read/process things.

This change addreses the need by:

 * add table output format using tabular
 * every item in a returned result gets processed through a colum, jsonpath
   pair
 * if columns not specified it will just dump a rows of json blobs
 * entity list, toggle, turn_on and turn_off for now are the only one
   having the support.

Example:

```
$ hass-cli --output=table entity toggle light.office_light                                                                                                                  cleanoutput ✭ ✚ ✱
ENTITY                          DESCRIPTION    STATE
------------------------------  -------------  -------
group.office_lights_motionview  office lights  on
light.office_light              Office Light   on
```

Also started making it so default output has the table content,
only if you enable --verbose will lines with info on count be printed.

9503 of 36015 relevant lines covered (26.39%)

0.26 hits per line

Jobs
ID Job ID Ran Files Coverage
4 30.4 (TOXENV=cov) 10 Dec 2018 08:00AM UTC 0
26.39
Travis Job 30.4
Source Files on build 30
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #30
  • cbede2ab on github
  • Prev Build on dev (#27)
  • Next Build on dev (#33)
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