Skip to content

FEAT: Add 'templates' command to list bundled templates#13

Open
CaptainLevi25 wants to merge 2 commits into
renezander030:masterfrom
CaptainLevi25:feat/show-available-templates
Open

FEAT: Add 'templates' command to list bundled templates#13
CaptainLevi25 wants to merge 2 commits into
renezander030:masterfrom
CaptainLevi25:feat/show-available-templates

Conversation

@CaptainLevi25
Copy link
Copy Markdown

Summary

Adds a new templates command to make bundled templates discoverable from the CLI.

Previously, users could apply bundled templates via apply-template, but there was no way to list the available templates without inspecting the repository contents. This change introduces a dedicated command that enumerates bundled templates from the shipped templates/ directory.

Usage

capcut templates or capcut templates -H

Resolves

Resolves #11

Changes

  • Added capcut templates command.
  • Resolves bundled templates from the package templates/ directory.
  • Supports human-readable output with -H / --human.
  • Added descriptions for bundled templates:
- caption-pop
- lower-third
- hook-question
- gold-title
- end-card
- subscribe-cta
  • Added automated tests covering

Screenshots

capcut templates or capcut templates -H

Screenshot 2026-05-30 215106

npm run test

Screenshot 2026-05-30 215134

capcut --help

Screenshot 2026-05-30 215214

Please review the PR at your convenience and suggest improvements required. I will try my best to resolve it.

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add 'templates' command to list bundled templates (discoverability for apply-template)

1 participant