A Workflow is a easily configurable ‘Run’ button that can run any command(s) you’d like.
python main.py
or as complex as executing a multi-step procedure.
Command + K
.
Execute Shell Command
, Install Packages
, and Run Workflow
.
Execute Shell Command
stores a shell command and executes it using the same environment as the Shell pane. This task type offers a wide range of use-cases, from running individual files:
Install Packages
utilizes Replit’s built-in dependency management system, automatically detecting your project dependencies and installing the necessary packages for your project. See Dependency Management for more details on how UPM guesses packages to install for your project under the hood.
Example use case:
Run Workflow
allows you to run another workflow from the current workflow. This allows for reusing workflows and combining them to create more complex workflows.
Example use case:
+ New Workflow
button. Start by giving your workflow a descriptive name, chose a suitable mode of execution, and start adding tasks. Tasks can be re-ordered by dragging and dropping them into the desired order.
.replit
, select the default “Run Replit App” option within the dropdown.
The selected workflow within the dropdown menu next to the run button will be run when the run button is clicked. Click on your desired workflow within the dropdown menu to change which workflow should be run by the run button.
Console
pane. You can toggle the display to only display latest outputs and clear the console altogether.