diff --git a/CLI_VERSION b/CLI_VERSION index 08692e0..9644c48 100644 --- a/CLI_VERSION +++ b/CLI_VERSION @@ -1 +1 @@ -v0.0.26 +v0.0.27 diff --git a/skills/base44-cli/SKILL.md b/skills/base44-cli/SKILL.md index 3c33f05..692e1c0 100644 --- a/skills/base44-cli/SKILL.md +++ b/skills/base44-cli/SKILL.md @@ -188,7 +188,7 @@ npx base44 |---------|-------------|-----------| | `base44 create` | Create a new Base44 project from a template | [create.md](references/create.md) ⚠️ **MUST READ** | | `base44 link` | Link an existing local project to Base44 | [link.md](references/link.md) | -| `base44 dashboard` | Open the app dashboard in your browser | [dashboard.md](references/dashboard.md) | +| `base44 dashboard open` | Open the app dashboard in your browser | [dashboard.md](references/dashboard.md) | ### Deployment @@ -363,7 +363,7 @@ npx base44 site deploy -y ### Opening the Dashboard ```bash # Open app dashboard in browser -npx base44 dashboard +npx base44 dashboard open ``` ## Authentication diff --git a/skills/base44-cli/references/create.md b/skills/base44-cli/references/create.md index 7580645..4bb02c5 100644 --- a/skills/base44-cli/references/create.md +++ b/skills/base44-cli/references/create.md @@ -6,9 +6,12 @@ Creates a new Base44 project from a template. This command is framework-agnostic ALWAYS provide both the project name AND `--path` flag. Without both, the command opens an interactive TUI which agents cannot use properly. +The project name can be provided either as a positional argument OR via the `--name` option. + WRONG: `npx base44 create` -WRONG: `npx base44 create my-app` +WRONG: `npx base44 create my-app` (missing --path) RIGHT: `npx base44 create my-app -p ./my-app` +RIGHT: `npx base44 create --name my-app -p ./my-app` ## Syntax @@ -20,13 +23,14 @@ npx base44 create [name] --path [options] | Argument/Option | Description | Required | |--------|-------------|----------| -| `name` | Project name (positional argument) | Yes* | +| `[name]` | Project name (positional argument, optional) | Yes* | +| `-n, --name ` | Project name (alternative to positional argument) | Yes* | | `-p, --path ` | Path where to create the project | Yes* | | `-t, --template ` | Template ID (see templates below) | No | | `--deploy` | Build and deploy the site (includes pushing entities) | No | | `--no-skills` | Skip AI agent skills installation (skills are added by default) | No | -*Required for non-interactive mode. Both `name` and `--path` must be provided together. +*Required for non-interactive mode. Both a name (via positional OR `--name`) and `--path` must be provided together. If both positional and `--name` are provided, `--name` takes precedence. ## Template Selection (CRITICAL - Choose Appropriately) @@ -86,6 +90,9 @@ npx base44 create my-app -p . # RECOMMENDED: Create full-stack project (for new apps) npx base44 create my-app -p ./my-app -t backend-and-client +# Alternative syntax using --name flag +npx base44 create --name my-app -p ./my-app -t backend-and-client + # Create full-stack and deploy in one step npx base44 create my-app -p ./my-app -t backend-and-client --deploy diff --git a/skills/base44-cli/references/dashboard.md b/skills/base44-cli/references/dashboard.md index 95a534a..09ceeb8 100644 --- a/skills/base44-cli/references/dashboard.md +++ b/skills/base44-cli/references/dashboard.md @@ -1,11 +1,11 @@ -# base44 dashboard +# base44 dashboard open Opens the Base44 app dashboard in your default web browser. ## Syntax ```bash -npx base44 dashboard +npx base44 dashboard open ``` ## Options @@ -21,7 +21,7 @@ This command has no options. ```bash # Open dashboard for current project -npx base44 dashboard +npx base44 dashboard open ``` ## Requirements