Skip to content

feat: make logs command discoverable#432

Merged
kfirstri merged 1 commit intomainfrom
claude/issue-431-20260319-1122
Mar 19, 2026
Merged

feat: make logs command discoverable#432
kfirstri merged 1 commit intomainfrom
claude/issue-431-20260319-1122

Conversation

@kfirstri
Copy link
Collaborator

@kfirstri kfirstri commented Mar 19, 2026

Note

Description

This PR makes the logs command visible in the CLI's help output by removing the hidden: true option when registering it. Previously, the command existed but was not discoverable via base44 --help or base44 help, making it hard for users to find. This small change improves the developer experience by surfacing the command in the standard help listing.

Related Issue

None

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Other (please describe):

Changes Made

  • Removed { hidden: true } option from program.addCommand(getLogsCommand()) in packages/cli/src/cli/program.ts so the logs command now appears in CLI help output

Testing

  • I have tested these changes locally
  • I have added/updated tests as needed
  • All tests pass (npm test)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have updated docs/ (AGENTS.md) if I made architectural changes

Additional Notes

The dev command remains hidden ({ hidden: true }), which is intentional — it is an internal/development-only command. The logs command, by contrast, is a user-facing feature that benefits from discoverability.


🤖 Generated by Claude | 2026-03-19 00:00 UTC

Remove hidden: true from logs command registration so it appears in help output.

Co-authored-by: Kfir Stri <kfirstri@users.noreply.github.com>
@github-actions
Copy link
Contributor

🚀 Package Preview Available!


Install this PR's preview build with npm:

npm i @base44-preview/cli@0.0.47-pr.432.9951e13

Prefer not to change any import paths? Install using npm alias so your code still imports base44:

npm i "base44@npm:@base44-preview/cli@0.0.47-pr.432.9951e13"

Or add it to your package.json dependencies:

{
  "dependencies": {
    "base44": "npm:@base44-preview/cli@0.0.47-pr.432.9951e13"
  }
}

Preview published to npm registry — try new features instantly!

@kfirstri kfirstri merged commit b74d6d9 into main Mar 19, 2026
9 checks passed
@kfirstri kfirstri deleted the claude/issue-431-20260319-1122 branch March 19, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant