Skip to main content
⏳ Estimated read time: 1 min read

list-templates

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

FlagDescription
--include-archivedInclude archived template appStacks.
-h, --helpHelp 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 template label
  • 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.