Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.0.35-6-g0f89a25
v0.0.41
1 change: 1 addition & 0 deletions skills/base44-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ npx base44 <command>
| Command | Description | Reference |
|---------|-------------|-----------|
| `base44 deploy` | Deploy all resources (entities, functions, agents, connectors, and site) | [deploy.md](references/deploy.md) |
| `base44 dev` | Start the local development server for testing backend functions | [dev.md](references/dev.md) |

### Entity Management

Expand Down
4 changes: 2 additions & 2 deletions skills/base44-cli/references/connectors-push.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ Summary:
Removed: slack
```

## CI/CD Environments
## Non-Interactive Environments

In non-interactive environments (no TTY, such as CI/CD pipelines), the OAuth flow is skipped automatically:
In non-interactive environments (CI/CD pipelines, no TTY), the OAuth flow is skipped automatically:

```
Skipped OAuth in non-interactive mode. Run 'base44 connectors push' locally or open the links above to authorize.
Expand Down
2 changes: 1 addition & 1 deletion skills/base44-cli/references/dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ Dashboard opened at https://base44.cloud/apps/your-app-id

- 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)
- The command will not open a browser in non-interactive environments (CI/CD pipelines or when no TTY is available)
2 changes: 1 addition & 1 deletion skills/base44-cli/references/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ npx base44 deploy -y

## Connector OAuth Flow

If any connectors require authorization after deployment, the CLI will prompt you to open your browser to complete OAuth. In non-interactive environments (CI/CD, no TTY), OAuth prompts are skipped automatically.
If any connectors require authorization after deployment, the CLI will prompt you to open your browser to complete OAuth. In non-interactive environments (CI/CD, no TTY) or when `-y` is used, OAuth prompts are skipped automatically.

```
Some connectors still require authorization. Run 'base44 connectors push' or open the links above in your browser.
Expand Down
57 changes: 57 additions & 0 deletions skills/base44-cli/references/dev.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# base44 dev

Start the local development server for testing backend functions.

## Syntax

```bash
npx base44 dev [options]
```

## Options

| Option | Description | Required |
|--------|-------------|----------|
| `-p, --port <number>` | Port for the development server | No |

## Authentication

**Required**: Yes. If not authenticated, you'll be prompted to login first.

## What It Does

1. Reads project configuration (functions, entities)
2. Starts a local development server using Deno
3. Serves backend functions locally for testing
4. Outputs the URL where the dev server is available

## Examples

```bash
# Start dev server on default port
npx base44 dev

# Start dev server on a specific port
npx base44 dev --port 3001
npx base44 dev -p 3001
```

## Output

```bash
$ npx base44 dev

Dev server is available at http://localhost:3000
```

## Prerequisites

- Must be run from a Base44 project directory
- Project must have function definitions in `base44/functions/`

## Notes

- The dev server runs locally and does not require deployment
- Use this to test backend functions before deploying to Base44
- If no port is specified, a default port is chosen automatically
- The server uses Deno under the hood for function execution
2 changes: 1 addition & 1 deletion skills/base44-cli/references/site-open.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ Site opened at https://my-app.base44.app

## Notes

- The command will not open a browser in CI environments (when `process.env.CI` is set)
- The command will not open a browser in non-interactive environments (CI/CD pipelines or when no TTY is available)
- Use this command to quickly view your deployed site
- The site URL is also displayed after deploying with `base44 site deploy` or `base44 deploy`
8 changes: 8 additions & 0 deletions skills/base44-troubleshooter/references/project-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ npx base44 logs [options]
| `--level <level>` | Filter by log level: `log`, `info`, `warn`, `error`, `debug` | No |
| `-n, --limit <n>` | Number of results to return (1-1000, default: 50) | No |
| `--order <order>` | Sort order: `asc` or `desc` (default: `desc`) | No |
| `--json` | Output logs as JSON instead of human-readable format | No |

## Examples

Expand Down Expand Up @@ -45,6 +46,12 @@ npx base44 logs -n 100 --order asc

# Last 10 errors for a specific function
npx base44 logs --function myFunction --level error --limit 10

# Output logs as JSON (useful for piping to jq or other tools)
npx base44 logs --json

# JSON output for a specific function
npx base44 logs --function my-function --level error --json
```

## Notes
Expand All @@ -55,3 +62,4 @@ npx base44 logs --function myFunction --level error --limit 10
- If `--function` is omitted, logs are fetched for **all functions** defined in `base44/config.jsonc`.
- The `--limit` applies after merging logs from all specified functions.
- The `--since` and `--until` values are normalized to UTC if no timezone is provided (appends `Z`).
- Use `--json` to get structured output suitable for piping to `jq` or other tools. Each entry has `time`, `level`, `message`, and `source` (function name) fields.
Loading