@base44-preview/cli 0.0.15-pr.99.e192f83 → 0.0.16-pr.87.4d103cc

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 +23 -1
  2. package/dist/cli/index.js +4239 -4362
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -43,9 +43,31 @@ base44 deploy
43
43
  | Command | Description |
44
44
  |---------|-------------|
45
45
  | `base44 create` | Create a new Base44 project from a template |
46
- | `base44 link` | Link an existing local project to Base44 |
46
+ | `base44 link` | Link a local project to Base44 (create new or link existing) |
47
47
  | `base44 dashboard` | Open the app dashboard in your browser |
48
48
 
49
+ #### Link Command Options
50
+
51
+ The `link` command supports both creating new projects and linking to existing ones:
52
+
53
+ ```bash
54
+ # Interactive mode - choose to create new or link existing
55
+ base44 link
56
+
57
+ # Create a new project (non-interactive)
58
+ base44 link --create --name "my-app" --description "My app description"
59
+
60
+ # Link to an existing project by ID (non-interactive)
61
+ base44 link --projectId <app-id>
62
+ ```
63
+
64
+ | Option | Description |
65
+ |--------|-------------|
66
+ | `-c, --create` | Create a new project (skip selection prompt) |
67
+ | `-n, --name <name>` | Project name (required with --create) |
68
+ | `-d, --description <desc>` | Project description (optional) |
69
+ | `-p, --projectId <id>` | Link to an existing project by ID (skips selection prompt) |
70
+
49
71
  ### Deployment
50
72
 
51
73
  | Command | Description |