Execute raw commands
In Fleet, you can execute raw commands and automate the interaction with external tools via run configurations.
For this, use the command
run configuration type:
{
"configurations": [
{
"type": "command",
"name": "curl example",
"program": "curl",
"args": ["-H", "Header:value", "localhost:8080"]
}
]
}
After you have configured the command, you can execute it from the Run & Debug popup Ctrl0R.
Key | Description |
---|---|
(required) | Shell command to execute |
| Command-line arguments for the program. The value is a JSON array, for example, |
| A human-readable name that identifies the run configuration |
| Custom environment variables for the process in the form of a JSON object. To define an environment variable, add a property, where the key is the variable name and the value is the value of the variable, for example:
|
| Names of other configurations which will be executed before this configuration, for example: |
| Working directory for this run configuration. |
| When set to |
| Show application process output in PTY ( |
Thanks for your feedback!