Description
stk-legacy list stackfile
command lists all the stackfiles
available in the Stacks imported from Studios. It all lists local Stacks created with STK CLI
.
You can apply filters using the parameters:
--json
Stackfiles are used in the stk-legacy create app
command to allow the grouping of a Template and a set of pre-defined Plugins, with one command.
How does it work?
The command displays the available Stackfiles list.
This list contains:
- Stackfile Name.
- Stackfile description.
- Stackfile Type.
Parameters
The command's format is:
stk-legacy list stackfile [STACK] --filter "some text in name or description"
Check the available parameters:
Parameter | Description |
---|---|
STACK | Displays only the stackfiles of the given stack. This is an optional parameter and when omitted, displays stackfiles for all installed stacks. |
--filter ou -F | Filters stackfiles by values that are in their name or description. Use quotes to include spaces in the filter. This is an optional parameter. |
--json ou -j | Displays the list of Stackfiles in json format. |
Deprecated Parameters
The parameters below are deprecated.
Parameter | Description |
---|---|
--app ou -A | Display only Stackfiles of type app . This is an optional parameter. |
--env ou -E | Display only Stackfiles of type env . This is an optional parameter. |
Examples
Check some examples of the command below:
List all available Stackfiles in all Stacks:
stk-legacy list stackfile
List Stackfiles for a specific Stack:
stk-legacy list stackfile some-stack-name
List Stackfiles that contain in their description or name the term "python":
stk-legacy list stackfile --filter python
Read more
Was this page helpful?