Skip to content

A simple CLI which hits a web server end point to save, retrieve and listen to <key, value> pairs stored in the database

License

Notifications You must be signed in to change notification settings

balanikaran/getset-simple-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI written in Python - (getset)

A simple CLI which hits a web server end point to save, retrieve and listen to <key, value> pairs stored in the database

Note: for this CLI to work you need this server: Server Repository


PR GitLicense

Quick Start

# Clone this repository
git clone https://github.com/krnblni/getset-simple-cli

## Get a virtual environment up and activated
# Create a virtual enviroment
python3 -m venv <environment-name>

# Activating the virtual environment
source <environment-name>/bin/activate

# Install the 'getset' CLI tool
pip install --editable .

# Check for command 
getset

Before proceeding please run getset-web-server along with this.

### After running the server

# Add a new <key, value> pair to database
getset set <key> <value>

# Get value of key from the server
getset get <key>

# Listen to a value of key (checks every 2 seconds)
getset listen <key>

App Info

Author

Karan Balani krnblni

Version

1.0.0

License

This project is licensed under the MIT License

About

A simple CLI which hits a web server end point to save, retrieve and listen to <key, value> pairs stored in the database

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages