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

swctl: config helper wrap 'agentctl --help' and merge with swctl #144

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

Giluerre
Copy link
Collaborator

  • changing flags to args
  • deciding which flags belong to agentctl and which to swctl, deciding in run function
  • merging both flagset to one help

@Giluerre Giluerre force-pushed the agentctl_config branch 2 times, most recently from 3a442da to ef08bfa Compare October 18, 2023 09:11
Copy link
Collaborator

@pemoticak pemoticak left a comment

Choose a reason for hiding this comment

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

Additionally it would be nice if swctl config -h referenced swctl binary instead of agentctl. With this PR when running swctl config -h the usage line of the output mentions agentctl (Usage: agentctl config [options] COMMAND). This is not a very urgent matter though.

cmd/swctl/app/cmd_config.go Show resolved Hide resolved
cmd/swctl/app/cmd_config.go Outdated Show resolved Hide resolved
@pemoticak pemoticak merged commit 6209a1d into PANTHEONtech:main Oct 23, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants