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

Author: peterfrieseCreated Jul 1, 2026Updated Sep 25, 2026
Labelsbug

Describe the problem

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

bash
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:

bash
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.