Code Monkey home page Code Monkey logo

invoice-generator's Introduction

Invoice-generator

Invoice-generator is a simple tool for generating invoices in automatic mode. There is no need to fill out anything every month. You do it once and that's it.

It can be used for several projects at once, just create different configuration files and put them in different folders where you want to save invoices.

Installation

Binaries

Pre-built binaries.

Download the binary file for your platform, copy it to /usr/local/bin, and give execute permission. Here is an example of my configuration for Linux:

sudo wget https://github.com/coffeewasmyidea/invoice-generator/releases/download/v0.8/invoice-generator.linux-amd64 -O /usr/local/bin/invoice-generator
sudo chmod +x /usr/local/bin/invoice-generator

Build from source

Clone the repo:

git clone https://github.com/coffeewasmyidea/invoice-generator.git

Run the command:

make install

Configuration

When you first run generating an invoice without an invoice-generator.toml file in the directory, the program will prompt a question:

The file invoice-generator.toml was not found in the current directory. Want to create it? (Y/n)

Type Y, and then you need to open the created invoice-generator.toml file and fill in the parameters of your invoice there. This completes the configuration setup, now you can generate invoices.

General usage

To generate a new invoice, use the command:

invoice-generator g

In addition, you can pass the date (month.year) of the desired service period as an argument as follows:

invoice-generator g 10.2023

You will get an invoice for the desirable period (previous month for example) with the correct dates for all presented fields.

Help information

$ invoice-generator
NAME:
   invoice-generator - cli invoice assistant

USAGE:
   invoice-generator [global options] command [command options] [arguments...]

VERSION:
   0.7

DESCRIPTION:
   This is a simple tool for generating invoices in automatic mode. There is no need to fill out anything every month. You do it once and that's it.

COMMANDS:
   generate, g  Generate a new invoice based on invoice-generator.toml information and current date.
                Alternatively, you can pass the date (month.year) of the desired service period as anargument like this: invoice-generator g 10.2023
   help, h      Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Invoice example:

Requiremrnts

There are no requirements and additional dependencies it will work on (Windows/Linux/MacOS).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.