Skip to main content
Version: v4.5.0

stk-legacy list template

Description

stk-legacy list template command returns a list of all available Templates in the Stacks imported from Studios and local Stacks created with STK CLI. Templates are part of Stacks and you can use them to create applications' structure.

How does it work?

You can execute the stk-legacy list template command at any time to list the available Templates in your Stacks. You can use the --filter parameter to filter and display specific Templates by name or description.

Parameters

Check the available options in the command:

ParameterDescription
STACKSets the name of the Stack. Used to list only the templates in this Stack.
-F ou --filterList Templates by Name or Description.
--json ou -jDisplays the Template listing in JSON format.

Deprecated Parameters

caution

The parameters below are deprecated.

ParameterDescription
--appLists only Templates of the app-template type, created with the stk-legacy create app command.
--envLists only Templates of the env-template type, created with the stk-legacy create env command.

Example

See an example below:

Read more

Was this page helpful?