Skip to content

Use --non-interactive flag for apps:create commands to prevent blocking coding agents #146

Description

@peterfriese

Describe the problem

When coding agents (e.g., Gemini, Claude Code, Antigravity, etc.) execute the Firebase CLI command to register an iOS application:

npx -y firebase-tools@latest apps:create IOS <bundle-id>

If the optional --app-store-id flag is not provided, the CLI prompts for it interactively:

? App Store ID (optional)

Because coding agents typically execute commands in non-interactive shell environments, this interactive prompt blocks the agent's progress indefinitely. Similar interactive prompts can occur with Android/Web app creation or project creation commands if optional/required parameters are omitted.

Proposed Solution

Ensure all documentation, CLI setup commands, and guides in this repository append the --non-interactive flag to apps:create commands (and potentially other CLI commands that can prompt interactively).

For example:

npx -y firebase-tools@latest apps:create IOS <bundle-id> --non-interactive

This tells the CLI to skip optional interactive prompts and fail immediately if any required options are missing, rather than blocking the agent.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions