/api/v0/commands

List all available commands.

Arguments

  • flags [bool]: Show command flags. Required: no.

Response

On success, the call to this endpoint will return with 200 and the following body:

{
  "Name": "<string>",
  "Options": [
    {
      "Names": [
        "<string>"
      ]
    }
  ],
  "Subcommands": [
    {
      "Name": "<string>",
      "Options": [
        {
          "Names": [
            "<string>"
          ]
        }
      ],
      "Subcommands": [
        "..."
      ]
    }
  ]
}

cURL Example

curl -X POST "http://127.0.0.1:5001/api/v0/commands?flags=<value>"

Last updated