Skip to content

Gum Table - Add --return-column & --show-columns #320

@CaelFrost

Description

@CaelFrost

Is your feature request related to a problem? Please describe.
Rematching data from the selected row to the source table, so that once a choice is made the script can use the full row data versus the subset shown in gum table.

Describe the solution you'd like

  • When sending data in as a table, I often want to include an index column but not show that column to the user in the TUI.
    not sure if the right choice is to use --show-columns or --hide-columns, but either would solve my need
  • Once the user makes the selection, having gum table return ONLY the columns specified in --return-column=0 will cause gum table to only return the first column of each row, and allows the script to use this returned data to refilter the source table for only the indexes specified.

Describe alternatives you've considered
currently adding a 'index' column but this is shown to the user

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions