diff --git a/CLI_VERSION b/CLI_VERSION index 08692e0..5d60b2e 100644 --- a/CLI_VERSION +++ b/CLI_VERSION @@ -1 +1 @@ -v0.0.26 +v0.0.30 diff --git a/skills/base44-cli/SKILL.md b/skills/base44-cli/SKILL.md index 549634b..a31e2ec 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-open.md](references/dashboard-open.md) | ### Deployment @@ -288,6 +288,7 @@ Agents are conversational AI assistants that can interact with users, access you | Command | Description | Reference | | -------------------- | ----------------------------------------- | ------------------------------------------- | | `base44 site deploy` | Deploy built site files to Base44 hosting | [site-deploy.md](references/site-deploy.md) | +| `base44 site open` | Open the published site in your browser | [site-open.md](references/site-open.md) | **SPA only**: Base44 hosting supports Single Page Applications with a single `index.html` entry point. All routes are served from `index.html` (client-side routing). diff --git a/skills/base44-cli/references/dashboard-open.md b/skills/base44-cli/references/dashboard-open.md new file mode 100644 index 0000000..4b1aad0 --- /dev/null +++ b/skills/base44-cli/references/dashboard-open.md @@ -0,0 +1,37 @@ +# base44 dashboard open + +Opens the Base44 app dashboard in your default web browser. + +## Syntax + +```bash +npx base44 dashboard open +``` + +## Options + +This command has no options. + +## What It Does + +1. Reads the project's app ID from the configuration +2. Opens the dashboard URL in your default browser +3. In CI environments (when `CI` environment variable is set), only displays the URL without opening + +## Example + +```bash +# Open dashboard for current project +npx base44 dashboard open +``` + +## Requirements + +- Must be authenticated (run `npx base44 login` first) +- Must be run from a linked Base44 project directory + +## Notes + +- The dashboard provides a web interface to manage your app's entities, functions, users, and settings +- If you're not authenticated or not in a project directory, the command will fail with an error +- The command will display a success message with the dashboard URL after opening diff --git a/skills/base44-cli/references/dashboard.md b/skills/base44-cli/references/dashboard.md index 95a534a..ba0531d 100644 --- a/skills/base44-cli/references/dashboard.md +++ b/skills/base44-cli/references/dashboard.md @@ -1,35 +1,36 @@ # base44 dashboard -Opens the Base44 app dashboard in your default web browser. +Manage app dashboard operations. ## Syntax ```bash -npx base44 dashboard +npx base44 dashboard [options] ``` -## Options +## Subcommands -This command has no options. +| Subcommand | Description | +|------------|-------------| +| `open` | Open the app dashboard in your browser | ## What It Does -1. Reads the project's app ID from `base44/.app.jsonc` -2. Opens the dashboard URL in your default browser +The `dashboard` command provides access to your Base44 app's web dashboard, where you can manage entities, functions, users, and settings. ## Example ```bash # Open dashboard for current project -npx base44 dashboard +npx base44 dashboard open ``` ## Requirements -- Must be run from a linked Base44 project directory (contains `base44/.app.jsonc`) +- Must be run from a linked Base44 project directory - Must be authenticated (run `npx base44 login` first) ## Notes -- The dashboard provides a web interface to manage your app's entities, functions, users, and settings -- If you're not in a project directory, the command will fail with an error +- For detailed information about the `open` subcommand, see [dashboard-open.md](dashboard-open.md) +- The dashboard provides a web interface to manage all aspects of your Base44 application diff --git a/skills/base44-cli/references/site-open.md b/skills/base44-cli/references/site-open.md new file mode 100644 index 0000000..cd5df5b --- /dev/null +++ b/skills/base44-cli/references/site-open.md @@ -0,0 +1,39 @@ +# base44 site open + +Opens the published Base44 site in your default web browser. + +## Syntax + +```bash +npx base44 site open +``` + +## Options + +This command has no options. + +## What It Does + +1. Retrieves the published site URL from the project configuration +2. Opens the site URL in your default browser +3. In CI environments (when `CI` environment variable is set), only displays the URL without opening + +## Example + +```bash +# Open the published site +npx base44 site open +``` + +## Requirements + +- Must be authenticated (run `npx base44 login` first) +- Must be run from a linked Base44 project directory +- The site must have been deployed at least once using `npx base44 site deploy` + +## Notes + +- This command opens the live production URL of your deployed site +- If the site hasn't been deployed yet, the command may fail +- The command will display a success message with the site URL after opening +- Useful for quickly viewing your deployed site without manually navigating to it