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 bc3e494..d20f625 100644 --- a/skills/base44-cli/SKILL.md +++ b/skills/base44-cli/SKILL.md @@ -189,7 +189,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 @@ -301,11 +301,12 @@ Automations are triggers defined in the `automations` array inside `function.jso For full schemas and examples, see [automations.md](references/automations.md). -### Site Deployment +### Site Management | 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 deployed 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.md b/skills/base44-cli/references/dashboard.md index 95a534a..8340233 100644 --- a/skills/base44-cli/references/dashboard.md +++ b/skills/base44-cli/references/dashboard.md @@ -1,27 +1,36 @@ -# 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 +## Authentication -This command has no options. +**Required**: Yes. If not authenticated, you'll be prompted to login first. ## What It Does 1. Reads the project's app ID from `base44/.app.jsonc` 2. Opens the dashboard URL in your default browser +3. Displays the dashboard URL in the terminal ## Example ```bash # Open dashboard for current project -npx base44 dashboard +npx base44 dashboard open +``` + +## Output + +```bash +$ npx base44 dashboard open + +Dashboard opened at https://base44.cloud/apps/your-app-id ``` ## Requirements @@ -31,5 +40,6 @@ npx base44 dashboard ## Notes -- The dashboard provides a web interface to manage your app's entities, functions, users, and settings +- The dashboard provides a web interface to manage your app's entities, functions, agents, users, and settings - If you're not in a project directory, the command will fail with an error +- The command will not open a browser in CI environments (when `process.env.CI` is set) diff --git a/skills/base44-cli/references/site-open.md b/skills/base44-cli/references/site-open.md new file mode 100644 index 0000000..b3d5641 --- /dev/null +++ b/skills/base44-cli/references/site-open.md @@ -0,0 +1,39 @@ +# base44 site open + +Opens the published site in your default web browser. + +## Syntax + +```bash +npx base44 site open +``` + +## Authentication + +**Required**: Yes. If not authenticated, you'll be prompted to login first. + +## What It Does + +1. Fetches the site URL from Base44 +2. Opens the site in your default browser +3. Displays the site URL in the terminal + +## Example + +```bash +$ npx base44 site open + +Site opened at https://my-app.base44.app +``` + +## Requirements + +- Must be run from a linked Base44 project directory +- Must be authenticated (run `npx base44 login` first) +- Site must have been deployed at least once + +## Notes + +- The command will not open a browser in CI environments (when `process.env.CI` is set) +- Use this command to quickly view your deployed site +- The site URL is also displayed after deploying with `base44 site deploy` or `base44 deploy`