Metadata-Version: 2.1
Name: firebase-fireup
Version: 0.0.5
Summary: Firebase Storage Uploader
Home-page: UNKNOWN
Author: Esa Firman
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: firebase-admin (==5.0.0)
Requires-Dist: requests (==2.25.1)
Requires-Dist: requests-toolbelt (==0.9.1)
Requires-Dist: python-jwt (==2.0.1)

## FireUp

Upload, delete, and list your files in Firebse Storage

```
Firebase storage management tools

positional arguments:
  {delete,upload,list}  Sub commands
    delete              Delete files in firebase storage
    upload              Upload file use --origin and --dest
    list                List files in --target dir

optional arguments:
  -h, --help            show this help message and exit
```

## Usage:

Set `FIREUP_CONFIG` environment variables to config json files. Example

```json
{
  "apiKey": "12312asdasdzxc123123213",
  "storageBucket": "testing.appspot.com",
  "authDomain": "testing.firebaseapp.com",
  "databaseURL": "https://testing.firebaseio.com",
  "serviceAccount": "./firebasadmin-sa.json"
}
```

### Upload

```bash
$ fireup upload --origin <file> --dest <path>

# Example
$ fireup upload --origin some.apk --dest apk/testing.apk
```

### Delete

```bash
$ fireup delete --path <path> --expire <expire_in_days>

# Example
$ fireup delete --path apk/ --expire 1
```

### List	

```bash
$ fireup list --path <path> --expire <expire_in_days>

# Example
$ fireup list --path /apk
```

## License

MIT @ Esa Firman

