Skip to main content
Version: v4.5.0

stk-legacy list task

Description

stk-legacy list task command lists the tasks available in Stacks imported from Studios and local Stacks created with STK CLI.

  • It is possible to apply filters with the --filter parameter.

  • Tasks can be used in the stk-legacy run command to run custom tasks defined in your Task.

How does it work?

The command displays a list of Tasks by Stack.

This list contains:

  • Task Name.
  • Task description.

Parameters

The format of the command is:

stk-legacy list task <STACK> --filter "some text in name or description""

Check the available options in the command:

ParameterDescription
STACKDisplays only the Tasks of the informed Stack. It is an optional parameter and when omitted, displays the Tasks of all installed Stacks.
--filter ou -FFilters Tasks by values that are in their name or description. Use quotes to include spaces in the filter. This is an optional parameter.
--json ou -jDisplays the task list in JSON format.

Examples

See some command's examples below:

  • List all available Tasks in all Stacks:

    stk-legacy list task

  • List Tasks for a specific Stack:

    stk-legacy list task <some-stack-name>

  • List Tasks with the "python " term in their description or name:

    stk-legacy list task --filter python

Command execution example

Read more

Was this page helpful?