Skip to content

AberDerBart/shoppinglist-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shoppinglist-cli

a command line client for shoppinglist

Requirements

shoppinglist-cli requires python3 as well as the following python libraries

  • requests
  • python-Levenshtein
  • rcfile
  • uuid

Installation

To install shoppinglist-cli, run:

$ pip install .

Usage

Display the list:

$ shoppinglist

Display the list Brian:

$ shoppinglist --list Brian

Add spam to the list:

$ shoppinglist add spam

Change spam to eggs:

$ shoppinglist edit Spam eggs

Delete eggs:

$ shoppinglist del eggs

Delete the third item:

$ shoppinglist del 3

For further usage information, run:

$ shoppinglist [command] --help

Configuration

For setting a default username, server and list, place a configuration file like config.example in ~/.shoppinglist-cli/config Alternatively, you can set them using the environment variables SHOP_USER, SHOP_SERVER and SHOP_LIST respectively.

Offline caching can be configured using the cachedir parameter in the configuration file. If the parameter is omitted, no data is cached

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages