Socket
Book a DemoInstallSign in
Socket

@mshick/google-cloud-runtime-configuration-util

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mshick/google-cloud-runtime-configuration-util

An easy cli for basic Google Cloud Runtime Configuration usage.

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

Google Cloud Runtime Configuration Util (grcutil)

An easy cli for basic Google Cloud Runtime Configuration usage.

Features

The focus here is on a clear, easy-to-use interface for the most commonly needed functions of the Runtime Configuration service. Install and take a look at at the help text for detail.

  • get - Gets a variable from a Runtime Configuration config
  • set - Sets a variable
  • unset - Unset a variable
  • print - Print the whole config to stdout in env or json format
  • create - Create a new config with the provided name
  • pipe - Pipe env-formatted stdin to the named config, loading it with variables. [EXPERIMENTAL]

Installation

$ yarn add @mshick/google-cloud-runtime-configuration-util [--global]
$ npm install @mshick/google-cloud-runtime-configuration-util [--global]

Usage

Simple examples:

$ grcutil set my-project FOO bar
# bar
$ grcutil get my-project FOO
# bar
$ grcutil print my-project
# FOO=bar
$ grcutil set my-project base64-val simpleval --to-base64
# c2ltcGxldmFs
$ grcutil print my-project --constant-case --print-format json
# { "FOO": "bar", "BASE64_VAL": "c2ltcGxldmFs" }
$ echo 'FOO=bar' | grcutil pipe my-project
# FOO=bar

For a full list of functionality and more examples:

$ grcutil --help

Keywords

Google Cloud

FAQs

Package last updated on 11 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts