Skip to content

firebase projects:create some-project-id doesn't parse the project ID param #8634

@aalej

Description

@aalej

[REQUIRED] Environment info

firebase-tools: v14.4.0

Platform: macOS

[REQUIRED] Test case

$ firebase --version
14.4.0
$ firebase projects:create some-project-id
? Please specify a unique project id (warning: cannot be modified afterward) [6-30 characters]:

[REQUIRED] Steps to reproduce

  1. Run firebase projects:create some-project-id

[REQUIRED] Expected behavior

The CLI should not prompt for a project ID and the param some-project-id should be treated as the project id

Running $ firebase projects:create --help shows [projectId] is a valid param

Usage: firebase projects:create [options] [projectId]

[REQUIRED] Actual behavior

The CLI prompts for project ID again

Notes

On v14.2.2, the project id prompt is skipped if the project id param is passed

$ firebase --version
14.2.2
$ firebase projects:create some-project-id
? What would you like to call your project? (defaults to your project ID)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions