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

feat(runagent): list running agent IDs #789

Merged
merged 2 commits into from
Feb 21, 2025
Merged

Conversation

DavidePrincipi
Copy link
Member

@DavidePrincipi DavidePrincipi commented Jan 23, 2025

Implement a runagent option --list-modules (-l) that prints the names of agents running on the local node.

This option is used by Bash completion to show the agent names by pressing TAB after -m. E.g.

runagent -m t<TAB> => runagent -m traefik1

Discussion https://mattermost.nethesis.it/nethesis/pl/dofpmuyytpbcjyhbd3zzjb5uto

@DavidePrincipi DavidePrincipi self-assigned this Jan 23, 2025
Press TAB to complete -m/--module-id option with agent IDs.
@DavidePrincipi DavidePrincipi marked this pull request as ready for review February 20, 2025 09:49
@DavidePrincipi DavidePrincipi added the testing Start test suite label Feb 20, 2025
Copy link
Member

@gsanchietti gsanchietti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷
IMO it does not add so much value (just new code to maintain), but fell free to merge if it works.

@DavidePrincipi DavidePrincipi merged commit 06c1fe7 into main Feb 21, 2025
8 checks passed
@DavidePrincipi DavidePrincipi deleted the feat-runagent-l branch February 21, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Start test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants