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

Remote list to output only JSON #85

Open
laeti-tia opened this issue Jun 24, 2020 · 2 comments · Fixed by #163
Open

Remote list to output only JSON #85

laeti-tia opened this issue Jun 24, 2020 · 2 comments · Fixed by #163
Assignees
Labels
enhancement New feature or request

Comments

@laeti-tia
Copy link
Member

It would be nice if there was a flag to tell psconfig remote list to output only JSON, without the agent header. Maybe this should only happen when there is a --agent given to be able to distinguish output. Such a feature would be useful when running psconfig through Ansible.

At the moment, I find myself doing psconfig remote --agent pscheduler list | tail -n +2 to get only the JSON.

@github-project-automation github-project-automation bot moved this to Ready in perfSONAR May 9, 2023
@laeti-tia laeti-tia added the enhancement New feature or request label Feb 25, 2025
@valtersg valtersg moved this from Ready to In Progress in perfSONAR Feb 26, 2025
@valtersg valtersg linked a pull request Feb 26, 2025 that will close this issue
@valtersg valtersg moved this from In Progress to In Review in perfSONAR Feb 26, 2025
@valtersg
Copy link

Added a --no-headers option to the command.
If provided -> will not print agent headers

@laeti-tia
Copy link
Member Author

laeti-tia commented Mar 11, 2025

Looking good to me, merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Review
Development

Successfully merging a pull request may close this issue.

2 participants