๐ฑ ์ฑ
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
๐ฑ Capgo ์ฑ ์ค์ ๋ฐ Capgo์์ ๊ด๋ฆฌํ์ธ์.
โ โ ์ถ๊ฐ
Alias:Alias: a
npx @capgo/cli@latest app addโ Capgo Cloud์ ๊ณ ์ ํ ์ฑ ID (com.test.app ํ์)๋ก ์๋ก์ด ์ฑ์ ์ถ๊ฐํ์ธ์. ๋ชจ๋ ์ต์ ์ config์์ ์ถ์ธกํ ์ ์์ต๋๋ค. ์ ๊ณต๋์ง ์์ ๊ฒฝ์ฐ.
์์:
npx @capgo/cli@latest app add com.example.app --name "My App" --icon ./icon.png์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| -n | string | Capgo Cloud์ ํ์๋๋ ์ฑ ์ด๋ฆ |
| -i | string | Capgo ์ฑ ์์ด์ฝ ๊ฒฝ๋ก (ํด๋ผ์ฐ๋์์ ํ์) |
| -a | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๋ ํค |
| โsupa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โsupa-anon | string | ์์ฒด ํธ์คํ ์ ์ํ ์ปค์คํ ์ํ๋ฒ ์ด์ค ์ต๋ช ํค |
๐๏ธ ์ญ์
โ๐๏ธ ์ญ์ โ๋ผ๋ ์น์ ์ ๋ชฉnpx @capgo/cli@latest app deleteCapgo์์ ์ฑ์ ์ญ์ ํฉ๋๋ค. ์ต์ ์ผ๋ก ์ญ์ ํ ๋ฒ์ ์ ์ง์ ํ ์ ์์ต๋๋ค.
์์:
npx @capgo/cli@latest app delete com.example.app์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| -a | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๋ ํค |
| โsupa-host | string | ์ฌ์ฉ์ ์ง์ Supabase ํธ์คํธ URL (์์ฒด ํธ์คํ ๋๋ Capgo ๊ฐ๋ฐ์ฉ) |
| โsupa-anon | string | ์ฌ์ฉ์ ์ง์ Supabase ์ต๋ช ํค (์์ฒด ํธ์คํ ) |
๐ ๋ชฉ๋ก
๋ชฉ๋ก ์ ๋ชฉ โ ๐ Listโ๋ณ๋ช
: l
npx @capgo/cli@latest app listCapgo Cloud์์ ์ฌ์ฉ์ ๊ณ์ ์ ๋ฑ๋ก๋ ๋ชจ๋ ์ฑ ๋ชฉ๋ก์ ๋ชจ๋ ํ์ํฉ๋๋ค.
์์:
npx @capgo/cli@latest app list์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| -a | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๊ธฐ ์ํ ํค |
| โsupa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โsupa-anon | string | ์์ฒด ํธ์คํ ์ ์ํ ์ปค์คํ Supabase anon ํค |
๐ ๋๋ฒ๊ทธ
๋๋ฒ๊ทธnpx @capgo/cli@latest app debug๐ ์ฑ์ ๋๋ฒ๊น ํ๊ธฐ ์ํด ์ค์๊ฐ ์ ๋ฐ์ดํธ ์ด๋ฒคํธ๋ฅผ Capgo Cloud์์ ๋ฃ์ต๋๋ค. ์ ํ์ ์ผ๋ก ํน์ ์ฅ์น์ ๋ํ ์์ธํ ๋๋ฒ๊น ์ ์ํด ๋์ ์ฅ์น๋ฅผ ์ง์ ํฉ๋๋ค.
์์:
npx @capgo/cli@latest app debug com.example.app --device DEVICE_ID์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| -a | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๊ธฐ ์ํ ํค |
| -d | string | The specific device ID to debug |
| โsupa-host | string | Capgo์ ์ํ ์ปค์คํ Supabase ํธ์คํธ URL (์์ฒด ํธ์คํ ๋๋ ๊ฐ๋ฐ์ฉ) |
| โsupa-anon | string | __CAPGO_KEEP_0__์ ์ํ ์ปค์คํ Supabase anon ํค (์์ฒด ํธ์คํ ์ฉ) |
โ๏ธ ์ค์
์ค์ ์น์ โ โ๏ธ Settingโnpx @capgo/cli@latest app settingโ๏ธ Capacitor ๊ตฌ์ฑ ํ๋ก๊ทธ๋จ์ ์ผ๋ก ์์ . ์ค์ ๊ฒฝ๋ก (์: plugins.CapacitorUpdater.defaultChannel) ์ง์ ํ๊ธฐ (โstring ๋๋ โbool ์ฌ์ฉ)
์์:
npx @capgo/cli@latest app setting plugins.CapacitorUpdater.defaultChannel --string "Production"์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| โbool | string | ์ค์ ๊ฐ์ ์์ ํ๋ ๋ฐ ์ฌ์ฉํ ๋ถ๋ฆฌ์ธ ๊ฐ, ์: โbool true |
| โstring | string | ์ค์ ๊ฐ์ ์์ ํ๋ ๋ฐ ์ฌ์ฉํ ๋ฌธ์์ด ๊ฐ, ์: โstring โProductionโ |
โ๏ธ ์ค์
์ค์ ์ ๋ชฉ โ โ๏ธ ์ค์ โAlias: s
npx @capgo/cli@latest app setโ๏ธ ๊ธฐ์กด ์ฑ์ ๋ํ ์ค์ ์ Capgo Cloud์์ ์ ๋ฐ์ดํธ ํ์ธ์. ์๋ฅผ ๋ค์ด, ์ด๋ฆ, ์์ด์ฝ, ๋๋ ๋ฒ๋ค ๋ณด๊ด ๊ธฐ๊ฐ๊ณผ ๊ฐ์ ๊ฒ์ ๋๋ค. ๋ณด๊ด ๊ธฐ๊ฐ์ด 0์ด๋ฉด ๋ฌดํ ์ ์ฅ์ด ๋ฉ๋๋ค.
์์:
npx @capgo/cli@latest app set com.example.app --name "Updated App" --retention 30์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| -n | string | Capgo Cloud์์ ํ์๋๋ ์ฑ ์ด๋ฆ |
| -i | string | Local image file path (png, jpg, webp, svg) used as the app icon in Capgo Cloud |
| -a | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๋ ํค |
| -r | string | ๊ธฐ์กด ๋ฒ๋ค ๋ณด์กด ์ผ์ (0 = ๋ฌดํ, ๊ธฐ๋ณธ๊ฐ: 0) |
| โexpose-metadata | string | ํ๋ฌ๊ทธ์ธ์ ๋ฒ๋ค ๋ฉํ๋ฐ์ดํฐ (๋งํฌ ๋ฐ ๋๊ธ)๋ฅผ ๋ ธ์ถํฉ๋๋ค (true/false, ๊ธฐ๋ณธ๊ฐ: false) |
| โpreview | boolean | ์ด ์ฑ์ ๋ฒ๋ค ๋ฐ ์ฑ๋ ๋ฏธ๋ฆฌ๋ณด๊ธฐ QR ์ฝ๋๋ฅผ ํ์ฑํํฉ๋๋ค |
| โno-preview | boolean | ์ด ์ฑ์ ๋ฒ๋ค ๋ฐ ์ฑ๋ ๋ฏธ๋ฆฌ๋ณด๊ธฐ QR ์ฝ๋๋ฅผ ๋นํ์ฑํํฉ๋๋ค |
| โ์ฅ์น ๊ณ ์ ID ํ์ฉ | boolean | ์ด ์ฑ์ ๋ํด ์ฅ์น๊ฐ ๊ณ ์ ID๋ฅผ ์ค์ ํ ์ ์๋๋ก ํ์ฉํฉ๋๋ค. |
| โ์ฅ์น ๊ณ ์ ID ํ์ฉํ์ง ์๊ธฐ | boolean | ์ด ์ฑ์ ๋ํด ์ฅ์น ๊ณ ์ ID๋ฅผ ํ์ฉํ์ง ์์ต๋๋ค. |
| โ์ ๊ณต์ ์ธํ๋ผ ์์ฒญ ์ฐจ๋จ | boolean | ์ด ์ฑ์ ๋ํด ์ ๊ณต์ ์ธํ๋ผ ์์ฒญ์ ์ฐจ๋จํฉ๋๋ค. |
| โ์ ๊ณต์ ์ธํ๋ผ ์์ฒญ ์ฐจ๋จํ์ง ์๊ธฐ | boolean | ์ด ์ฑ์ ๋ํด ์ ๊ณต์ ์ธํ๋ผ ์์ฒญ์ ํ์ฉํฉ๋๋ค. |
| โ๋น๋ ์๊ฐ ์ด๊ณผ ๋ถ | string | ๋ค์ดํฐ๋ธ ๋น๋ ์๊ฐ ์ด๊ณผ ๋ถ (5-360, ๊ธฐ๋ณธ: 15) |
| โiOS ์คํ ์ด URL | string | ์ด ์ฑ์ iOS App Store URL |
| โ์๋๋ก์ด๋ ์คํ ์ด URL | string | ์ด ์ฑ์ Google Play Store URL |
| โ๊ธฐ๋ณธ ์ ๋ก๋ ์ฑ๋ | string | ์ด ์ฑ์ ๊ธฐ๋ณธ ์ ๋ก๋ ์ฑ๋ ์ด๋ฆ |
| โ๊ธฐ๋ณธ ๋ค์ด๋ก๋ ์ฑ๋ | string | ์ด ์ฑ์ ๊ธฐ๋ณธ ๋ค์ด๋ก๋ ์ฑ๋ ์ด๋ฆ (์ฑ๋ public=true๋ก ์ค์ ) |
| โ๋ค์ด๋ก๋ ์ฑ๋ ๋นํ์ฑํ | boolean | ์ด ์ฑ์ Capgo ๋ค์ด๋ก๋ ์ฑ๋ ๋นํ์ฑํ (๋ชจ๋ ์ฑ๋ public=false๋ก ์ค์ ) |
| โSUPA ํธ์คํธ | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โSUPA ์ต๋ช | string | ์์ฒด ํธ์คํ ์ ์ํด ์ฌ์ฉํ๋ ์ปค์คํ Supabase ์ต๋ช ํค |