Skip to content

A command line interface as companion to the popular iOS shopshop application

License

Notifications You must be signed in to change notification settings

theovassiliou/shopshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shop

A simple go program to update ShopShop shopping lists.

ShopShop is a free iOS shopping list program that we are using in our family for many years now. In particular the synching via Dropbox is a great help.

ShopShop stores it's data in traditional JSON format, and the files can be located in a DropBox folder. While sitting on the desktop, being notified by the DropBox message that a shopping list is being updated, with shopshop-cl you can now easily check and update shopping lists.

To use, you should have a $HOME/Dropbox/ShopShop/Shopping List.shopshop file, created by ShopShop.

WARNING: THIS SOFTWARE CAN'T BE ERROR FREE, SO USE IT AT YOUR OWN RISK. DON'T USE IT IF YOU HAVEN'T MADE AN ACTUAL BACKUP COPY OF YOUR FIBARO HC2 SYSTEM. IF YOU DO NOT HOW TO DO THIS, PLEASE RECONSIDER TO USE THIS SOFTWARE ANYWAY. I HAVE DONE MY BEST TO MAKE SURE THAT THE TOOLS BEHAVE AS EXPECTED. BUT AGAIN ... USE IT AT YOUR OWN RISK. I AM NOT GIVING ANY KIND OF WARRANTY, NEITHER EXPLICITELY NOR IMPLICITELY.

Installation binaries

You can download the binaries directly from the releases section. Unzip/untar the downloaded archive and copy the files to a location of your choice, e.g. /usr/local/bin/ on *NIX or MacOS. If you install only the binaries, make sure that they are accessible from the command line. Ideally, they are accessible via $PATH or %PATH%, respectively.

Example

$ shopshop
Items in:  Grocery
 0:  Milk  
 1:  Honey @done
 2:  Butter  
 3: 3 Soda

The list "Grocery" has 4 items. "Honey" is marked as done and the quantity of "Soda" is set to three

shopshop -h

 Usage: shopshop [options] <command>

 Adding, modifying and deleting items from a ShopShop list

 Options:
 --drop-box-dir, -d  Directory with ShopShop lists (default $HOME/Dropbox/ShopShop/)
 --list-name, -l     ShopShop listname (default Groccery)
 --log-level         Log level, one of panic, fatal, error, warn or warning, info, debug, trace
                     (default debug)
 --version, -v       display version
 --help, -h          display help

 Commands:
 · add       Adds an item to the shopping list
 · ls        List the shopshop list
 · query     Shows a list of all shopping lists
 · rm        Removes an item at index position from list
 · co        Checkout (removes done items) from list
 · interact  interactive mode

 Version:
   shopshop 1.0.0 (git: master 824843e)

Usage

    shopshop

Will list current items.

    shopshop add green cheese

Will add "green cheese" to your shopping list.

    shopshop add 5 milk

Will add "milk" with a quantitiy of 5 to your shopping list.

    shopshop rm 3

Will remove the item at index 3.

    shopshop co

Will remove items marked as done.

    shopshop -h

Will print the help.

    shopshop -interact

Launch shopshop in interactive mode. Use "help" to find out more

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

Thanks to all the people out there that produce amazing open-source software, which supported the creation of this piece of software. In particular I wasn't only able to use libraries etc. But also, to learn and understand golang better. In particular I wanted to thank

About

A command line interface as companion to the popular iOS shopshop application

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published