Skip to main content
Version: v4.5.0

stk-legacy run

Description

The stk-legacy run command shows the available Tasks in your Stacks.

Tasks are lists of commands that are executed based on your operating system and a list of dependencies previously defined in the Task. You can use Tasks to automate some common tasks during your app development cycle.

How does it work?

The command shows the available Tasks in your Stacks.

To execute the Task, it is necessary to add the Task's name as an argument of the command.

Parameters

Check the available options in the command:

ParameterDescription
NAMEThe name of the Task that will be executed. A list of the available Tasks in your organization can be viewed using the stk-legacy list task command.
-p ou --task-pathExecutes a Task that has not been published to a Stack via its absolute path.
--no-docker-cacheForces the build or pull of the Docker image again when running the Task.

Example

You can use this command from any location on your machine. You can see the result of running task in your terminal.

See below for an example:

Read more

Was this page helpful?