get-set-var

variable setter and getter command

Usage no npm install needed!

<script type="module">
  import getSetVar from 'https://cdn.skypack.dev/get-set-var';
</script>

README

get-set-var

Getter and setter to variables for Linux like command line.

Install

installation with source code

$ git clone https://github.com/wxqee/get-set-var.git get-set-var
$ cd get-set-var/
$ npm install ./ -g

Usage

choose to use a db/database

Set env GSV_DB_NAME can help to identify which db is about to use.

$ export GSV_DB_NAME=<db-name>

init a database/db

$ get-set-var-init

get and set a var

$ get-set-var <variable-to-get>
$ get-set-var <variable-to-set> <value>