@supacloud/cli 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +29 -0
  2. package/dist/index.js +5654 -0
  3. package/package.json +39 -0
package/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # @supacloud/cli
2
+
3
+ Project-scoped CLI for SupaCloud users.
4
+
5
+ `supacloud` defaults to the current workspace's project context. If you do not pass explicit flags, it tries to auto-link from `.env`:
6
+
7
+ - `SUPABASE_URL` or `SUPACLOUD_API_URL`
8
+ - `SUPABASE_SERVICE_ROLE_KEY` or `SUPACLOUD_API_TOKEN`
9
+
10
+ Examples:
11
+
12
+ ```bash
13
+ npx @supacloud/cli status
14
+ npx @supacloud/cli project get
15
+ npx @supacloud/cli project logs --log_type database
16
+ npx @supacloud/cli database query --sql "select now()"
17
+ npx @supacloud/cli frontend list --ref abc123
18
+ ```
19
+
20
+ Project commands owned by this CLI:
21
+
22
+ - `project get`
23
+ - `project health`
24
+ - `project logs`
25
+ - `project api_keys`
26
+ - `project settings`
27
+ - `project tasks`
28
+
29
+ For server installation, SSH diagnostics, and tenant administration, use `@supacloud/admin`.