ship
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese@codewithbeto/ship
@codewithbeto/ship
Ship a revenue-ready AI image app this weekend.
Built by Code with Beto — Platano landing page
本周末即可上线一款可变现的AI图像应用。
由Code with Beto开发——Platano落地页
Quick start
快速开始
bash
bunx @codewithbeto/ship --name my-appbash
bunx @codewithbeto/ship --name my-appFlags
可用参数
| Flag | Required | Default |
|---|---|---|
| Yes | — |
| No | |
| No | title-cased |
| No | |
| No | |
| No | — |
| No | same as iOS key |
| No | — |
| 参数 | 必填 | 默认值 |
|---|---|---|
| 是 | — |
| 否 | |
| 否 | |
| 否 | |
| 否 | |
| 否 | — |
| 否 | 与iOS密钥相同 |
| 否 | — |
What it does
功能说明
- Clone the template repo (shallow, then remove )
.git - Configure app name, bundle ID, slug, and payment keys
- Run
bun install - Initialize a fresh git repo with baseline commit
- 克隆模板仓库(浅克隆,之后删除目录)
.git - 配置应用名称、bundle ID、slug和支付密钥
- 执行
bun install - 初始化全新的git仓库并提交基线提交
Output
输出说明
- stderr — progress logs (checking access, cloning, configuring)
- stdout — structured result on success:
name: my-app
app_name: My App
bundle_id: com.beto.my-app
slug: my-app
payments: true
template: platano
directory: my-app- stderr — 进度日志(权限检查、克隆、配置过程)
- stdout — 执行成功时返回结构化结果:
name: my-app
app_name: My App
bundle_id: com.beto.my-app
slug: my-app
payments: true
template: platano
directory: my-appError handling
错误处理
Errors go to stderr and exit with code 1. Common failures:
- Access denied — user needs Pro access at https://cwb.sh/platano
- Directory exists — pick a different
--name - Install failed — ensure is available
bun
错误会输出到stderr并以退出码1结束进程,常见失败场景:
- 权限被拒绝 — 用户需要访问https://cwb.sh/platano获取Pro权限
- 目录已存在 — 请选择其他参数值
--name - 安装失败 — 请确保已正确安装
bun
After scaffolding
搭建完成后
bash
cd <project-name>
npx expo startbash
cd <project-name>
npx expo startLinks
相关链接
- Course & Pro access: https://cwb.sh/rn
- YouTube: https://cwb.sh/youtube
- Discord: https://cwb.sh/discord
- Newsletter: https://cwb.sh/newsletter
- 课程与Pro权限:https://cwb.sh/rn
- YouTube:https://cwb.sh/youtube
- Discord:https://cwb.sh/discord
- 时事通讯:https://cwb.sh/newsletter