Skip to main content

Evaluate a cli command

POST 

https://localhost:8900/cli/evaluate

This method can be used to analyze if the command can be interpreted without executing it. When this method returns a 200 OK, the command can be parsed and evaluated.

Request

Query Parameters

    env object

    All search parameter form the environment passed to the CLI interpreter.

Body

The command will be sent as request body. A command can contain multiple command line separated by semicolon. Every single line can contain multiple commands that are combined via the pipe operator.

    string

Responses

When the command can be evaluated.

Schema

  • Array [

  • property name* any
  • ]

curl -L -X POST 'https://localhost:8900/cli/evaluate' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-d ''
Request Collapse all
Base URL
https://localhost:8900
Parameters
— query
Body