A simple CLI tool to initialize a Firebase project with a custom boilerplate, add modules, and add Firebase services.
- Initializes a Firebase project with a predefined boilerplate.
- Adds modules to an existing Firebase project.
- Adds Firebase services (e.g., Firestore, Functions) to the project.
- Fully written in TypeScript.
To install the CLI globally, run:
npm install -g gcf-cli
Run the CLI by using the following command:
gcf-cli <command> [options]
Initialize the project
gcf-cli init <project-name>
Go inside the project to functions folder
cd <project-name>/functions
Install dependencies
yarn install
Add a Module
gcf-cli add module user