Project

General

Profile

Actions

Bug #26960

closed

The --fields option lacks help

Added by Martin Bacovsky almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Documentation
Target version:
-
Difficulty:
medium
Triaged:
No
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

The --fields option accepts field names or predefined sets. it is not clear what values are available and what fields are printed for specific sets.

I'd love to see some help extension when --fields is defined on the command showing e.g. table like:
currently it is not visible for a user what fields are in which sets. I'd love to see some help extension when --fields is defined on the command showing e.g. table like:

Options:
  --fileds    FIELDS  Show specified fileds or predefined filed sets only. (See below)

...

Predefined field sets:
+--------+-----+---------+------+
| Fields | ALL | DEFAULT | THIN |
+--------+-----+---------+------+
| Id     |  x  |    x    |  x   |
| Name   |  x  |    x    |  x   |
| Param1 |  x  |    x    |      |
| Param2 |  x  |         |      |
+--------+-----+---------+------+

See more context in https://github.com/theforeman/hammer-cli/pull/276#issuecomment-452133084

Actions #1

Updated by Oleh Fedorenko almost 5 years ago

  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
Actions #2

Updated by The Foreman Bot almost 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli/pull/308 added
Actions #3

Updated by Oleh Fedorenko almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by The Foreman Bot almost 5 years ago

  • Fixed in Releases hammer-cli-0.18.0 added
Actions #5

Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/theforeman/hammer-cli/pull/310 added
Actions

Also available in: Atom PDF