Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --wide flag to phylum project list #537

Open
peterjmorgan opened this issue Jul 9, 2022 · 1 comment
Open

Add --wide flag to phylum project list #537

peterjmorgan opened this issue Jul 9, 2022 · 1 comment
Labels
enhancement New feature or request medium priority Should be handled as soon as possible

Comments

@peterjmorgan
Copy link
Contributor

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

@peterjmorgan peterjmorgan added enhancement New feature or request needs triage Needs to be reviewed or assigned labels Jul 9, 2022
@cd-work
Copy link
Contributor

cd-work commented Jul 11, 2022

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.

@kylewillmon kylewillmon added medium priority Should be handled as soon as possible and removed needs triage Needs to be reviewed or assigned labels Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium priority Should be handled as soon as possible
Projects
None yet
Development

No branches or pull requests

3 participants