https://github.com/redraw/freshbook
Freshbooks Classic hours logger tool
https://github.com/redraw/freshbook
Last synced: about 1 year ago
JSON representation
Freshbooks Classic hours logger tool
- Host: GitHub
- URL: https://github.com/redraw/freshbook
- Owner: redraw
- License: mit
- Created: 2017-02-07T04:30:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-06-09T17:38:44.000Z (about 5 years ago)
- Last Synced: 2025-04-12T19:14:08.572Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
===============================
freshbook
===============================
.. .. image:: https://img.shields.io/pypi/v/freshbook.svg
:target: https://pypi.python.org/pypi/freshbook
.. .. image:: https://img.shields.io/travis/redraw/freshbook.svg
:target: https://travis-ci.org/redraw/freshbook
.. .. image:: https://readthedocs.org/projects/freshbook/badge/?version=latest
:target: https://freshbook.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. .. image:: https://pyup.io/repos/github/redraw/freshbook/shield.svg
:target: https://pyup.io/repos/github/redraw/freshbook/
:alt: Updates
Freshbooks hours logger tool
Installation
----
``$ pip install freshbook``
Use
----
First, create the config file by running
``$ freshbook init``
This creates a file named ``.freshbook`` in the current project directory. When you're ready to log, make sure you're on the same directory and run,
``$ freshbook commit -m "the message"``
Git
----
If using git, you could use your commit messages to include in the freshbook notes.
``$ git config --global alias.today "log --author '`git config user.name`' --since 6am --all --no-merges --format='-%s'"``
And then just do
``$ freshbook commit -m "$(git today)"``