Skip to content

bl clean

Clean snippets, stacks, or store

Remove snippets, stacks, or clear entire store.

You can:

  • Remove specific resource by name
  • Remove all snippets (use -s or --snippets flag)
  • Remove all stacks (use -k or --stacks flag)
  • Clear everything (use -a or --all flag)

Version-specific deletion is supported.

bl clean [resource] [flags]
# Remove specific snippet
bl clean errorHandler@1.js
# Remove specific stack
bl clean express-api@1
# Remove all snippets
bl clean --snippets
# Remove all stacks
bl clean --stacks
# Clear entire store
bl clean --all
-a, --all Clean all resources
-h, --help help for clean
-n, --snippets Snippets only
-k, --stacks Stacks only
-V, --verbose Enable verbose debug output