Skip to content

DataENV is a cli tool that allows you to save data temporarily using your terminal.

Notifications You must be signed in to change notification settings

pgamerx/dataenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataEnv CLI

Instllation

npm install -g dataenv

Usage

Table of Contents

Node-LocalStorage

We use node-lolcalstorage to store the data in the local storage in a folder called tmp/node-dataenv-localStorage

npx dataenv save

Save the data identified by the unique key.

Parameters

  • key The Unique key to identify the data.
  • value The Value to save in the localStorage identified by the key.

Returns any The value saved along with the key.

npx dataenv show

Show the data identified by the unique key.

Parameters

  • key The unique key to identify the data

Returns any The value saved in the localStorage identified by the key.

npx dataenv del

Delets a key from the localStorage

Parameters

  • key The unique key to identify the data

Returns any The key deleted from the localStorage.

Install CLI locally

  # (make sure you build before linking)
  npm link
  dataenv

About

DataENV is a cli tool that allows you to save data temporarily using your terminal.

Resources

Stars

Watchers

Forks

Packages

No packages published