๐น ๋จ์ฒด
์ค์น ๋จ๊ณ์ ์ด ํ๋ฌ๊ทธ์ธ์ ์ ์ฒด ๋งํฌ๋ค์ด ๊ฐ์ด๋๊ฐ ํฌํจ๋ ์ค์ ํ๋กฌํํธ๋ฅผ ๋ณต์ฌํ์ธ์.
[deprecated] โorganizationโ์ ์ฌ์ฉํ์ธ์. ์ด ๋ช ๋ น์ด๋ ๋ฏธ๋ ๋ฒ์ ์์ ์ ๊ฑฐ๋ ๊ฒ์ ๋๋ค.
๐ ๋ชฉ๋ก
๋ชฉ๋ก ์ ๋ชฉ โ ๐ ListโAlias: l
npx @capgo/cli@latest organisation list์ฌ์ฉ๋์ง ์๋ ๊ธฐ๋ฅ โorganization listโ๋ฅผ ์ฌ์ฉํ์ธ์.
์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| -a, | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๊ธฐ ์ํ ํค |
| โsupa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โsupa-anon | string | ์์ฒด ํธ์คํ ์ ์ํด ์ฌ์ฉํ๋ Custom Supabase anon ํค |
โ Add
โ ์ถ๊ฐ๋ ์ ๋ชฉAlias: a
npx @capgo/cli@latest organisation add์ฌ์ฉ๋์ง ์์: 'organization add'๋ฅผ ์ฌ์ฉํ์ธ์.
์ต์ :
| ํ๋ผ๋ฏธํฐ: | ํ์ | ์ค๋ช |
|---|---|---|
| -n, | string | ๋จ์ฒด ์ด๋ฆ |
| -e, | string | ๋จ์ฒด ๊ด๋ฆฌ ์ด๋ฉ์ผ |
| -a, | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๊ธฐ ์ํ ํค |
| โsupa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โsupa-anon | string | ์์ฒด ํธ์คํ ์ ์ํ ์ปค์คํ Supabase anon ํค |
โ๏ธ ์ค์
์ค์ ์น์ ์ ๋ชฉ โ โ๏ธ ์ค์ โAlias: s
npx @capgo/cli@latest organisation set์ฌ์ฉ โorganization setโ ๋์ ํฉ๋๋ค.
์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| -n, | string | organization ์ด๋ฆ |
| -e, | string | __CAPGO_KEEP_0__ |
| โenforce-2fa | boolean | __CAPGO_KEEP_1__ |
| โno-enforce-2fa | boolean | __CAPGO_KEEP_2__ |
| โpassword-policy | boolean | __CAPGO_KEEP_3__ |
| โno-password-policy | boolean | __CAPGO_KEEP_4__ |
| โmin-length | string | __CAPGO_KEEP_5__ |
| โ๋๋ฌธ์ ์๊ตฌ | boolean | ๋๋ฌธ์ ์ ๋ ฅ ํ์ |
| โ๋๋ฌธ์ ์๊ตฌํ์ง ์์ | boolean | ๋๋ฌธ์ ์ ๋ ฅ ํ์ํ์ง ์์ |
| โ์ซ์ ์๊ตฌ | boolean | ์ซ์ ์ ๋ ฅ ํ์ |
| โ์ซ์ ์๊ตฌํ์ง ์์ | boolean | ์ซ์ ์ ๋ ฅ ํ์ํ์ง ์์ |
| โํน์๋ฌธ์ ์๊ตฌ | boolean | ํน์๋ฌธ์ ์ ๋ ฅ ํ์ |
| โํน์๋ฌธ์ ์๊ตฌํ์ง ์์ | boolean | ํน์๋ฌธ์ ์ ๋ ฅ ํ์ํ์ง ์์ |
| โrequire-apikey-expiration | boolean | API ํค๊ฐ ์ ํจ ๊ธฐ๊ฐ์ ๊ฐ๋๋ก ์๊ตฌํฉ๋๋ค. |
| โno-require-apikey-expiration | boolean | API ํค ์ ํจ ๊ธฐ๊ฐ์ ์๊ตฌํ์ง ์์ต๋๋ค. |
| โmax-apikey-expiration-days | string | API ํค ์ ํจ ๊ธฐ๊ฐ (1-365, null๋ก ์ ํ ์์) |
| โenforce-hashed-api-keys | boolean | API ํค๋ฅผ ์ํธํํ์ฌ ๊ฐ์ ๋ก ์ฌ์ฉํฉ๋๋ค (ํค ๊ฐ์ ํ ๋ฒ๋ง ํ์) |
| โno-enforce-hashed-api-keys | boolean | API ํค๋ฅผ ํ๋ฌธ์ผ๋ก ํ์ฉํฉ๋๋ค. |
| -a, | string | API ํค๋ฅผ ๊ณ์ ์ ์ฐ๊ฒฐํฉ๋๋ค. |
| โsupa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โsupa-anon | string | ์ํผ๋ฒ ์ด์ค ์ต๋ช ํค (์์ฒด ํธ์คํ ์ฉ) |
๐๏ธ ์ญ์
โ๐๏ธ ์ญ์ โ ์ ๋ชฉ์ ์น์ Alias: d
npx @capgo/cli@latest organisation deleteโorganization deleteโ ๋์ ์ฌ์ฉํ์ธ์.
์ต์ :
| Param | ํ์ | ์ค๋ช |
|---|---|---|
| -a, | string | API ํค๋ฅผ ํด๋ฆญํ์ฌ ๊ณ์ ์ ์ฐ๊ฒฐํ์ธ์ |
| โsupa-host | string | ์์ฒด ํธ์คํ ๋๋ Capgo ๊ฐ๋ฐ์ ์ํด ์ฌ์ฉํ๋ ์ปค์คํ Supabase ํธ์คํธ URL |
| โsupa-anon | string | ์์ฒด ํธ์คํ ์ ์ํด ์ฌ์ฉํ๋ ์ปค์คํ Supabase anon ํค |
์กฐ์ง์์ ๊ณ์ ์งํ
โ์กฐ์ง์์ ๊ณ์ ์งํโ์ด๋ผ๋ ์ ๋ชฉ์ ์น์ __CAPGO_KEEP_0__์ ์ฌ์ฉํ๋ ๊ฒฝ์ฐ ์กฐ์ง API ์ด์์ ๊ณํํ๊ณ API ์์ ์ ์ฐ๊ฒฐํ์ธ์. API ๊ฐ์ API ๊ฐ์์ ๊ตฌํ ์ธ๋ถ ์ ๋ณด์ ๋ํด ์๊ฐ ์๊ฐ์ ๊ตฌํ ์ธ๋ถ ์ ๋ณด์ ๋ํด API ํค API ํค์ ๊ตฌํ ์ธ๋ถ ์ ๋ณด์ ๋ํด ๊ธฐ๊ธฐ ๊ธฐ๊ธฐ์ ๊ตฌํ ์ธ๋ถ ์ ๋ณด์ ๋ํด ํจํค์ง ํจํค์ง์ ๊ตฌํ ์ธ๋ถ ์ ๋ณด์ ๋ํด