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

Long text overflow on tctl output #4677

Closed
klizhentas opened this issue Nov 1, 2020 · 3 comments
Closed

Long text overflow on tctl output #4677

klizhentas opened this issue Nov 1, 2020 · 3 comments
Labels
cli Tickets related to CLI experience good-starter-issue Good starter issue to start contributing to Teleport tctl tctl - Teleport admin tool ux

Comments

@klizhentas
Copy link
Contributor

Long roles should cap the output to match the terminal width, instead they overlfow on the next line:

$ tctl get roles --format=text
Role  Allowed to login as      Node Labels Access to resources                                                                                                                                                                  
----- ------------------------ ----------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 
admin {{internal.logins}},root <all nodes> role:list,create,read,update,delete,auth_connector:list,create,read,update,delete,session:list,read,trusted_cluster:list,create,read,update,delete,event:list,read,token:create,read 
@klizhentas klizhentas added ux good-starter-issue Good starter issue to start contributing to Teleport labels Nov 1, 2020
@russjones russjones added this to the Runway Milestone milestone Nov 3, 2020
@zmb3
Copy link
Collaborator

zmb3 commented Mar 11, 2022

@lxea I think you may have recently fixed this - can you confirm?

@lxea
Copy link
Contributor

lxea commented Mar 14, 2022

@zmb3 I've added a fix for this in #9519 now. It also adds a verbosity flag to tctl get but it only does anything with tctl get roles.

@zmb3
Copy link
Collaborator

zmb3 commented Jul 24, 2022

This has been fixed, long lines are now truncated.

@zmb3 zmb3 closed this as completed Jul 24, 2022
@zmb3 zmb3 added tctl tctl - Teleport admin tool cli Tickets related to CLI experience labels Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Tickets related to CLI experience good-starter-issue Good starter issue to start contributing to Teleport tctl tctl - Teleport admin tool ux
Projects
None yet
Development

No branches or pull requests

5 participants