List Command

The list command shows all available templates in your configured registry. It displays both app (project templates) and component (modular features) categories.

Run to view all available registry

To view all available registry:

backcraft list

This will output a structured object like the following:

{
"app": {
  "blog": ["blog-mongoose.js.json", "blog-mysql.js.json"],
  "book": ["book-prisma.ts.json"]
},
"component": {
  "auth": ["jwt-auth.js.json", "jwt-auth.mysql.json"],
  "payment": ["stripe-payment.json", "paypal-payment.json"]
}
}

Run to view app registry

To view all available app registry:

backcraft list app

This will output a structured object like the following:

"app": {
  "blog": ["blog-mongoose.js.json", "blog-mysql.js.json"],
  "book": ["book-prisma.ts.json"]
}

Run to view components registry

To view all available components registry:

backcraft list components

This will output a structured object like the following:

"component": {
  "auth": ["jwt-auth.js.json", "jwt-auth.mysql.json"],
  "payment": ["stripe-payment.json", "paypal-payment.json"]
}

Understand the Output

  • Two type of registry use for : app - Initialize application, component - add new components to existing project.
  • Inside each category are folders (e.g., blog, auth, payment), which organize related templates.
  • Each folder lists .json files that can be used with init or add commands.