Skip to content

Instantly share code, notes, and snippets.

View mdmitry1's full-sized avatar
:atom:
🦁

Dmitry Messerman mdmitry1

:atom:
🦁
View GitHub Profile
@mdmitry1
mdmitry1 / LICENSE
Last active February 23, 2024 15:58
Pytest: Calling a program with command line parameters
https://opensource.org/licenses/MIT
Copyright 2021 Dmitry Messerman
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
@mdmitry1
mdmitry1 / README.md
Last active December 2, 2021 18:54 — forked from mbleigh/README.md
Firebase Hosting Fetch All Files

Fetch All Files from Firebase Hosting

This script fetches all of the files from the currently deployed version of a Firebase Hosting site. You must be signed in via the Firebase CLI and have "Site Viewer" permission on the site in question to be able to properly run the script.

Running using node

 env FIREBASE_TOKEN=`cat <file_where_firebasetoken is saved>` fetchFiles.js <my-site>