https://github.com/lexoyo/saintcloud
A CLI tool with utilities for google cloud platform
https://github.com/lexoyo/saintcloud
Last synced: 7 months ago
JSON representation
A CLI tool with utilities for google cloud platform
- Host: GitHub
- URL: https://github.com/lexoyo/saintcloud
- Owner: lexoyo
- Created: 2017-12-11T18:21:51.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-15T00:53:31.000Z (almost 8 years ago)
- Last Synced: 2025-02-24T21:06:37.513Z (7 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# saintcloud
> A CLI tool with utilities for google cloud platform
**This is dirty test code, I am learning gcp APIs, not nodejs, open to PRs for cleanup, refactoring, test but no feature**
This first version of the tool finds the old versions of a project, lists them and remove them if you confirm.
```
$ npm install -g saintcloud
$ saintcloud
```Options:
- `GCLOUD_PROJECT_ID` or 1st arg: the project ID (default=all projects)
- `GCLOUD_KEY_FILE` env var or 2nd arg: optional path to the key file (default=open an oauth browser window)```
$ saintcloud $GCLOUD_PROJECT_ID $GCLOUD_KEY_FILE
```See this [guide to create a JSON keyfile](https://googlecloudplatform.github.io/gcloud-node/#/authentication).
Use [gcloud CLI](https://cloud.google.com/sdk/gcloud/) to get your project ID.
```
$ gcloud projects list
```