Skip to content

feat: add interactive setup CLI and centralize app name constant - #5

Merged
palmithor merged 1 commit into
mainfrom
simplify-template-usage
Feb 24, 2026
Merged

feat: add interactive setup CLI and centralize app name constant#5
palmithor merged 1 commit into
mainfrom
simplify-template-usage

Conversation

@palmithor

Copy link
Copy Markdown
Member

Summary

  • Add bun run setup interactive CLI that prompts for npm org, app name, GitHub org, display names, and Cloudflare workers subdomain — replaces the manual find-and-replace workflow across 20+ files
  • Centralize APP_NAME in .github/scripts/common.ts so all preview scripts import from one place instead of hardcoding cloudflare-worker-app
  • Replace hardcoded worker name in preview.yml cleanup job with a new delete-worker.ts script that uses the shared constant
  • Update README template setup section to document the new CLI workflow

Replace manual find-and-replace template setup with an interactive CLI
(bun run setup) that prompts for org, app name, GitHub org, display
names, and Cloudflare subdomain. Centralize APP_NAME in
.github/scripts/common.ts so preview scripts no longer hardcode it.
@github-actions

Copy link
Copy Markdown

🚀 Preview Environment Deployed

Preview URL: https://cloudflare-worker-app-pr-5.coding-cowboys.workers.dev
Database: cloudflare-worker-app-db-pr-5

This preview environment will be automatically cleaned up when the PR is closed.

@palmithor
palmithor merged commit 215999f into main Feb 24, 2026
3 checks passed
@palmithor
palmithor deleted the simplify-template-usage branch February 24, 2026 19:07
@github-actions

Copy link
Copy Markdown

🧹 Preview Environment Cleaned Up

The preview environment and database have been deleted.

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.

1 participant