Update garm-cli
tool to use the new swagger generated client library
#142
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates the
garm-cli
tool to use the new swagger generated client library.The following
garm-cli
operations are updated:Enterprise subcommands:
garm-cli enterprise add ...
garm-cli enterprise show ...
garm-cli enterprise list ...
garm-cli enterprise update ...
garm-cli enterprise delete ...
Organization subcommands:
garm-cli organization add ...
garm-cli organization show ...
garm-cli organization list ...
garm-cli organization update ...
garm-cli organization delete ...
Repository subcommands:
garm-cli repository add ...
garm-cli repository show ...
garm-cli repository list ...
garm-cli repository update ...
garm-cli repository delete ...
Pool subcommands:
garm-cli pool add ...
garm-cli pool show ...
garm-cli pool list ...
garm-cli pool update ...
garm-cli pool delete ...
Runner subcommands:
garm-cli runner show ...
garm-cli runner list ...
garm-cli runner delete ...
Credential subcommands:
garm-cli credentials list ...
Job subcommands:
garm-cli job list ...
Metrics-token subcommands:
garm-cli metrics-token create ...
Provider subcommands:
garm-cli provider list ...
Init subcommands:
garm-cli init ...
Profile subcommands:
garm-cli profile add ...
garm-cli profile login ...
Also, I removed the old
garm-cli
client.