From 67607e10e107e81fb9091f48df8b4dad0dc0b88b Mon Sep 17 00:00:00 2001 From: jobot0 Date: Thu, 12 Mar 2020 09:08:36 +0100 Subject: [PATCH] :sparkles: Add basic firebase cheatsheet --- cheats/firebase.cheat | 47 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 cheats/firebase.cheat diff --git a/cheats/firebase.cheat b/cheats/firebase.cheat new file mode 100644 index 0000000..c3a98f2 --- /dev/null +++ b/cheats/firebase.cheat @@ -0,0 +1,47 @@ +% firebase, account + +# Login +firebase login + +# Logout +firebase logout + +% firebase, local + +# Init a new project +firebase init [feature] + +# List of projects you have access to +firebase projects:list + +# Set current project +firebase use [options] [alias_or_project_id] + +# Serve all allowed content +firebase serve + +# Serve specific feature +firebase serve --only + +# Serve specific content for feature +firebase serve --only : + +% firebase, remote + +# Deploy projects +firebase deploy + +# Deploy specific feature +firebase deploy --only + +# Deploy specific content for feature +firebase deploy --only : + +% firebase, ci + +# Generate a token for CI +firebase login:ci + +# Deploy from CI +firebase deploy --token +