Skip to content

Commit

Permalink
Merge pull request #58 from KeisukeYamashita/add-firebase-provider
Browse files Browse the repository at this point in the history
Add firebase provider
  • Loading branch information
KeisukeYamashita authored Oct 8, 2019
2 parents 332f7c4 + 041bcfb commit dbc35d5
Show file tree
Hide file tree
Showing 8 changed files with 494 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .config/default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@

[circleci]
[circleci.alias]

[firebase]
[firebase.alias]
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ The supported provider are here.
* Pagerduty
* Github
* CircleCI
* Firebase

## Alias

Expand Down Expand Up @@ -292,6 +293,50 @@ $ biko cc [product] [flag(s)]
| Jobs | Open CircleCI Jobs | `jobs, j` | `--project`, `-p` |
| Workflows | Open CircleCI Workflows | `workflows, wf` | `--project`, `-p` |

### Firebase

* Open Google Firebase form your terminal.
* Please pass `--project` to open supported products page.

```
$ biko firebase [product] [flag(s)]
# or
$ biko fb [product] [flag(s)]
```

**Supported Product**

**Development**

| Product | What | Command | Flags(Optional) |
|:----:|:----:|:----:|:----:|
| Authentication | Go to auth | `authentications, auth` | - |
| Database | Go to database | `database, db` | - |
| Storage | Go to storage | `storage` | - |
| Hosting | Go to Hosting | `hosting, host, h` | - |
| Functions | Go to functions | `funcitons, func, f` | - |
| ML Kit | Go to ML Kit | `ml` | - |

**Quality**

| Product | What | Command | Flags(Optional) |
|:----:|:----:|:----:|:----:|
| Crashlytics | Go to cryshlytics | `crashlytics, crash` | - |
| Performance | Go to performance | `performance, perf` | - |
| Test Lab | Go to Test Lab | `testlab, tl` | - |
| App Distribution | Go to App Distribution | `appdistribution, ad` | - |

**Analytics**

| Product | What | Command | Flags(Optional) |
|:----:|:----:|:----:|:----:|
| Dashboard | Go to dashboard | `dashboard` | - |

**Grow**

| Product | What | Command | Flags(Optional) |
|:----:|:----:|:----:|:----:|
| Grow | Go to grow | `grow` | - |

## (Advanced): Docker image

Expand Down
1 change: 1 addition & 0 deletions alias/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ type TomlConfig struct {
PagerDuty map[string]interface{} `toml:"pagerduty"`
Github map[string]interface{} `toml:"github"`
CircleCI map[string]interface{} `toml:"circleci"`
Firebase map[string]interface{} `toml:"firebase"`
}

// GetConfig ...
Expand Down
3 changes: 3 additions & 0 deletions alias/testdata/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@

[github]
[github.alias]

[firebase]
[firebase.alias]
Loading

0 comments on commit dbc35d5

Please sign in to comment.