Closed as not planned
Description
What is your suggestion?
The coder
CLI tool should have a flag that makes it print the requests it's making to coderd
, and possibly the responses as well.
Why do you want this feature?
This complements the API documentation by helping users to explore the different requests that are involved in a particular piece of functionality. (For example, coder create
makes a few requests to get information about a template's schema and resources before actually creating a workspace.) It could also be useful as a debugging aid.
This is somewhat inspired by similar functionality in kubectl, which prints requested URLs with the --v=6
flag, and additional details at higher verbosity levels.
Are you interested in submitting a PR for this?
Yes