Skip to content

Add --wide flag to phylum project list #537

Description

@peterjmorgan

Overview

Add a --wide command-line flag to phylum project list to make it easier to read long project names.

Consider increasing the default width of the project name column

Associated User Story

-- Es gibt nicht

Activity

  1. cd-work commented on Jul 11, 2022

    @cd-work
    Contributor

    I'm not sure if a --wide option is the best solution here. we already have alternative output options which show the full project name (--json), but I'd imagine the goal would be to have something in-between the super nice table and the raw json output.

    My main issue with a --wide flag is that it's kinda subjective. Of course we could just take the longest project name as table cell width but that has a very high likelihood of being bigger than the terminal, at which point a table will look terrible.

    I think maybe rather than just going for a wider version of the current output, we could have something like --format=oneline in git, say --format=simple where we list project ID and name without any advanced formatting. We could also list just the project name since I doubt people care much about the ID. This could also then provide --format=json as an alias for --json.

  2. added
    medium priorityShould be handled as soon as possible
    and removed
    needs triageNeeds to be reviewed or assigned
    on Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmedium priorityShould be handled as soon as possible

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions