firebase / firebase/agent-skills
Use --non-interactive flag for apps:create commands to prevent blocking coding agents
- Dominant language
- JavaScript
- Stars
- 443
- Forks
- 96
- Avg merge
- 8h 10m
- Merged PRs (30d)
- 3
Description
### 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
```
If the optional `--app-store-id` flag is not provided, the CLI prompts for it interactively:
```text
? 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 --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.
Contributor guide
Assessment
This issue has not been assessed yet.