[ https://issues.apache.org/jira/browse/ARTEMIS-4819?focusedWorklogId=923924&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-923924 ]
ASF GitHub Bot logged work on ARTEMIS-4819: ------------------------------------------- Author: ASF GitHub Bot Created on: 18/Jun/24 15:19 Start Date: 18/Jun/24 15:19 Worklog Time Spent: 10m Work Description: clebertsuconic commented on PR #4980: URL: https://github.com/apache/activemq-artemis/pull/4980#issuecomment-2176366666 I just had an issue with ./artemis queue stat where some users complained to me about parsing the output. so I added --json if json is no good for scripting, we could add some other format output for things like that. We should do it in a way we are consistent throughout the CLI. doing it now in one way here, and on a different way on queue stat makes it confusing. Issue Time Tracking ------------------- Worklog Id: (was: 923924) Time Spent: 50m (was: 40m) > Improve user list output in CLI > ------------------------------- > > Key: ARTEMIS-4819 > URL: https://issues.apache.org/jira/browse/ARTEMIS-4819 > Project: ActiveMQ Artemis > Issue Type: Improvement > Reporter: Vilius Šumskas > Priority: Minor > Time Spent: 50m > Remaining Estimate: 0h > > Currently `artemis user list` command output is not very script friendly. It > prints users like this: > {noformat} > "krttmtr5zh3yx1j"(role_adm_krttmtr5zh3yx1j) > "wge4qbpzykuqety"(role_adm_wge4qbpzykuqety) > "8wezkl4yg0wmmcr"(role_adm_8wezkl4yg0wmmcr) > "atrnohhggvhocqq"(role_adm_atrnohhggvhocqq){noformat} > My proposal is to split users and roles with a space like this, so that the > output can be parsed and used in bash scripts more effectively: > {noformat} > krttmtr5zh3yx1j (role_adm_krttmtr5zh3yx1j) > wge4qbpzykuqety (role_adm_wge4qbpzykuqety) > 8wezkl4yg0wmmcr(role_adm_8wezkl4yg0wmmcr) > atrnohhggvhocqq (role_adm_atrnohhggvhocqq){noformat} > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@activemq.apache.org For additional commands, e-mail: issues-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact