An open API service indexing awesome lists of open source software.

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

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
```