Skip to content

igolaizola/agorer

Repository files navigation

agorer

agorer is a tool to sync Agora Retail software with Todostuslibros.com using SINLI format.

📦 Installation

You can use the Golang binary to install agorer:

go install github.com/igolaizola/agorer/cmd/agorer@latest

Or you can download the binary from the releases

🕹️ Usage

Create a configuration file. You can use example.conf as a template.

Use the help command to see the available options:

agorer --help
agorer stock --help
agorer sales --help

stock

Run this command to obtain the stock data from Agora Retail and send it by email in SINLI format:

agorer stock --config stock.conf

sales

Run this command to obtain sales data of a given day from Agora Retail and send it by email in SINLI format:

agorer stock --config sales.conf --day 2023-02-28

If day is not specified, the current day is used.

🚀 Deployment

See deployment folder for a deployment template.

📚 Resources