Add rdctl api
command
#1903
Labels
kind/enhancement
New feature or request
kind/quality
quality improvements, refactoring, Automation via CI, E2E, Integration, CLI or REST API
Milestone
This command provides a convenient way to call an rd-engine API, like gh api for the Github API.
For example
rdctl api list-settings
would perform the same function as:If the argument specifies an absolute path (like
/v0/list-settings
), then it will not be prefixed with the API version.We should use the
-f/--raw-field
and-F/--field
parameter semantics fromgh api
to switch to thePOST
method and add the fields to the request body.We can add additional options later; just
-f
and-F
should be enough for the initial version. Maybe support--input
if time allows.In a later version it would also take care of mTLS as well.
The text was updated successfully, but these errors were encountered: