firebase / firebase/firebase-tools
List and delete deployments
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
I've just noticed by Firebase hosting usage is now almost 1 GB. Quite a lot given the fact our website is only 20 MB.
```
nowaker@nwkr-desktop ~/projekty/virtkick/website (git)-[master] % du -hs build
20M build
```
It seems all previous deployments are kept by Firebase and they're visible at https://console.firebase.google.com/project/PROJECTNAME/hosting/main.
Deleting 90 deployments one by one manually is out of question. There's a big need to have a way to list deployments via CLI and delete them.
Contributor guide
Research direction
The issue names no repository files or tests; begin by reviewing the existing Firebase CLI commands and the Hosting deployments shown in the Firebase console. Define the CLI behavior for listing deployments and deleting selected deployments, then verify that both operations work without requiring one-by-one console actions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- firebase, typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100