選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

README 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # Invoice
  2. This is my quick and dirty invoice system I am going to use for my invoices
  3. in year 2012.
  4. The program is higly experimental and users are expected to know at least a
  5. bit of Python coding. Feedback is appreciated.
  6. Pavel imerda <pavlix@pavlix.net>
  7. ## License
  8. This version of the source code is released into public domain, future releases
  9. may adopt a BSD-like license.
  10. == Requirements
  11. * Python 3.2
  12. * python3-tempita 0.5.1
  13. * pdflatex
  14. * texlive-tabu
  15. * texlive-multirow
  16. ## Installation
  17. You don't need to install, just make a symlink to the invoice script
  18. in ~/bin or /usr/bin/local.
  19. You will need to make the following symlinks or directories in ~/.invoice/
  20. * data (the database)
  21. * data/$YEAR (current year)
  22. * tmp
  23. * output
  24. * output/$YEAR
  25. Use the code or error messages in case this list is incomplete. Use -D for
  26. debugging.
  27. ## User configuration
  28. For now an empthy ~/.invoice/config should do.
  29. ## Basic usage
  30. Export EDITOR and PDF_VIEWER environment variables to choose your favourite
  31. text editor and PDF viewer. Defaults are 'vim' and 'xdg-open'.
  32. Manage companies:
  33. invoice new-company <id>
  34. invoice edit-company <id>
  35. invoice show-company <id>
  36. invoice delete-company <id>
  37. Manage invoices:
  38. invoice new <company-id>
  39. invoice edit [<number>]
  40. invoice show [<number>]
  41. invoice delete [<number>]
  42. Generate and display invoice PDF:
  43. invoice pdf --generate [<number>]