1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 08:10:08 +00:00
ohmyzsh/plugins/firebase
2020-03-19 16:04:41 +01:00
..
firebase.plugin.zsh chore: updated comments 2020-03-19 15:50:49 +01:00
README.md docs: updated aliases 2020-03-19 16:04:41 +01:00

Firebase plugin

The Firebase plugin provides useful aliases for the Firebase CLI.

To use it, add firebase to the plugins array of your zshrc file:

plugins=(... firebase)

Aliases

Reference: https://firebase.google.com/docs/cli#admin-commands

fbi: firebase init

Alias Command Description
fbi firebase init Initialize a Firebase project

fbi: firebase use

Alias Command Description
fbu firebase use Use a firebase project
fbua firebase use -add Add and use a firebase project

fbs: firebase serve

Alias Command Description
fbs firebase serve Serve a Firebase project locally
fbs0 firebase serve --host 0.0.0.0 Serve a Firebase projeczt on 0.0.0.0
fbsh firebase serve --only hosting Serve a Firebase project locally (Only Hosting)
fbsf firebase serve --only functions Serve a Firebase project locally (only Functions)

fbd firebase deploy

Alias Command Description
fbd firebase deploy Deploy Firebase (Complete)
fbdh firebase deploy --only hosting Deploy Firebase Hosting
fbdd firebase deploy --only database Deploy Firebase Realtime Database
fbds firebase deploy --only storage Deploy Firebase Storage
fbdfs firebase deploy --only firestore Deploy Firebase Firestore
fbdfsr firebase deploy --only firestore:rules Deploy Firebase Firestore (only Rules)
fbdfsi firebase deploy --only firestore:indexes Deploy Firebase Firestore (only Indexes)
fbdfu firebase deploy --only functions Deploy Firebase Functions

fbf - firebase functions

Alias Command Description
fbfd firebase functions:delete Delete Firebase Function

fb... - Misc

Alias Command Description
fbp firebase projects:list List all projects