mirror of
https://github.com/denisidoro/navi
synced 2024-11-22 19:43:06 +00:00
Merge pull request #229 from jobot0/master
✨ Add basic firebase cheatsheet
This commit is contained in:
commit
95ed76f40c
1 changed files with 47 additions and 0 deletions
47
cheats/firebase.cheat
Normal file
47
cheats/firebase.cheat
Normal file
|
@ -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 <feature>
|
||||
|
||||
# Serve specific content for feature
|
||||
firebase serve --only <feature>:<content_folder>
|
||||
|
||||
% firebase, remote
|
||||
|
||||
# Deploy projects
|
||||
firebase deploy
|
||||
|
||||
# Deploy specific feature
|
||||
firebase deploy --only <feature>
|
||||
|
||||
# Deploy specific content for feature
|
||||
firebase deploy --only <feature>:<content_folder>
|
||||
|
||||
% firebase, ci
|
||||
|
||||
# Generate a token for CI
|
||||
firebase login:ci
|
||||
|
||||
# Deploy from CI
|
||||
firebase deploy --token <token_for_ci>
|
||||
|
Loading…
Reference in a new issue