Skip to content

Terminal "niceties" make it difficult to script coder #1322

Closed
@ammario

Description

@ammario

We know that many of our customers build automation around the CLI. We should expect this behavior to continue in v2.

This table style makes such workflows quite difficult:
Screen Shot 2022-05-06 at 11 12 01 AM

For example, if I want to use simple head:

Screen Shot 2022-05-06 at 11 12 29 AM

Or... I want everyone's usernames:
image

Solutions

  1. Replace all nice tables with a traditional UNIX format
  2. Emit traditional UNIX table when stdout is not a TTY
  3. Add global flag (e.g --csv) to coerce all output into a machine-friendly format

In the interest of MVP, I think 1 is best.

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions