list-templates
Text size
list-templates
The stackgen appstack list-templates command lists appStacks in the current project that have the template label. These are the same stacks shown under Templates in the UI. Use the name or UUID with stackgen appstack create --template.
Usage
stackgen appstack list-templates [flags]
Aliases
list-templates, templates
Flags
| Flag | Description |
|---|---|
--include-archived | Include archived template appStacks. |
-h, --help | Help for list-templates. |
See Global flags for --project, --output, --interactive, --log, and --stackgen-home.
Examples
List template appStacks
stackgen appstack list-templates
This command will:
- List appStacks in the current project that have the
templatelabel - Show each stack's name and UUID for use with
stackgen appstack create --template
Include archived templates
stackgen appstack list-templates --include-archived
Use the alias
stackgen appstack templates
This command provides the same output as stackgen appstack list-templates.
note
For enterprise template sharing and module compatibility when creating from a template in the UI, see IaC from Templates.