Launch Fleet from CLI
Sometimes a particular workflow would require you to launch JetBrains Fleet from the command line. To support these, JetBrains Fleet has several commands, which you can use in a shell script or a terminal.
Generate scripts
In the Toolbox app, click Toolbox App menu, then select Settings.
Under Tools, enable Generate shell scripts.
In Shell scripts location, specify a folder that is accessible through the
PATH
variable.
Configure command name
In the Toolbox app, click Tool actions near Fleet, then select Settings.
Under Shell script name, specify the name for the command that launches JetBrains Fleet.
Launch Fleet
The following commands launch a local instance of JetBrains Fleet.
fleet
– launches JetBrains Fleet in its last saved state.fleet <dir-name>
– opens the specified directory in Fleet as a new workspace.fleet <file-name>
– attaches the specified file to the open workspace. If no workspace is available, JetBrains Fleet creates a new one.
Options
The table below provides the summary for the options that you can use with the fleet
command.
-d | Enables logging of debug messages in the launcher. For logging of debug messages in JetBrains Fleet itself, use the |
-h | Provides the reference for the available options and flags. |