Skip to content

Conversation

@gonengar
Copy link
Contributor

Document the unified function pattern for CLI commands that support both interactive (prompts) and non-interactive (flags) modes. This pattern, demonstrated by the link command, avoids code duplication by using ternary operators to conditionally prompt or use provided flag values.

Document the unified function pattern for CLI commands that support both
interactive (prompts) and non-interactive (flags) modes. This pattern,
demonstrated by the link command, avoids code duplication by using ternary
operators to conditionally prompt or use provided flag values.
@github-actions
Copy link
Contributor

github-actions bot commented Jan 25, 2026

🚀 Package Preview Available!


Install this PR's preview build with npm:

npm i @base44-preview/cli@0.0.17-pr.108.483ba44

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.17-pr.108.483ba44"

Or add it to your package.json dependencies:

{
  "dependencies": {
    "base44": "npm:@base44-preview/cli@0.0.17-pr.108.483ba44"
  }
}

Preview published to npm registry — try new features instantly!

@kfirstri kfirstri moved this to Backlog in CLI Development Jan 27, 2026
@github-project-automation github-project-automation bot moved this from Backlog to In review in CLI Development Jan 27, 2026
@kfirstri kfirstri moved this from In review to Ready in CLI Development Jan 27, 2026
@kfirstri kfirstri moved this from Ready to In review in CLI Development Jan 27, 2026
@kfirstri kfirstri moved this from In review to Ready in CLI Development Jan 29, 2026
@kfirstri kfirstri moved this from Ready to Backlog in CLI Development Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

4 participants