Project

General

Profile

Actions

Feature #18097

open

As a user, I want to name :export: config sections for convenient use on the cli

Added by Thomas McKay about 7 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
core
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

For example, I have a custom export defined for content-hosts

:csv:
  :enable_module: true
  :columns:
    :content-hosts:
      :define:
        - :name: Subscription Status
          :json:
            - subscription_status_label
        - :name: Last Checkin
          :json:
            - subscription_facet_attributes
            - last_checkin
      :export:
        - Name
        - Organization
        - Subscription Status
        - Last Checkin

Currently the above config means that --export will always export just those four columns.

Instead, let me add a :name: to the :export: section that may be referred to. Something like this if I had included ":name: substatus" in the conf

hammer csv content-hosts --export --export-name substatus

Actions #1

Updated by Thomas McKay over 5 years ago

  • Triaged set to Yes
Actions

Also available in: Atom PDF