-
Notifications
You must be signed in to change notification settings - Fork 246
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
Extension Management Commands #476
Extension Management Commands #476
Conversation
table_row['Name'] = trim_for_display(row['extensionName'], 20) | ||
table_row['Version '] = trim_for_display(row['version'], 20) | ||
table_row['Last Updated '] = date_time_to_only_date(row['lastPublished']) | ||
table_row['States'] = trim_for_display(row['installState']['flags'], 20) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest:
Can do more intelligent trimming like add number of flags e.g. 'disabled +2 other'.
Atleast that is how I was planning to do for some pipelines/environment commands.
Open to suggestions even for my own case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kind of border line in this case..
even with this info user will have to switch to json view to get the exact string. This will help only when count is a useful information for the user
and I don't think count is a useful information at least in this case..
(this is more of a case to case thing)
Please make sure the code is following contribution guidelines in CONTRIBUTING.md
These are in line with issue #103