JetBrains Fleet 1.42 Help

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 ⌘ R.

Key

Description

program

(required)

Shell command to execute

args

Command-line arguments for the program. The value is a JSON array, for example, "args": ["I", "love", "Fleet"].

name

A human-readable name that identifies the run configuration

environment

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:

"environment": { "TEMP_DIR": "/home/user/temp", "GENERATE_RANDOM_PASSWORD": "true" }

dependsOn

Names of other configurations which will be executed before this configuration, for example: "dependsOn": ["first", "second"]. For more information, refer to Chained run configurations.

workingDir

Working directory for this run configuration.

allowParallelRun

When set to true, more than one instance of this configuration can run in parallel.

pty

Show application process output in PTY (true) or in read-only view (false)

Last modified: 11 February 2024