Freckle directly from your terminal
nb: the setup might be a bit long but after you're done with this, you'll be freckling away 🙂
- Go to your freckle dashboard
- Navigate to Freckle Api under Connected Apps
- Click on the settings of Personal Access Tokens and create a token. You could use
letsfreckle_client
for the application name. - PLEASE SAVE YOUR TOKEN BEFORE CLOSING THAT PAGE
- Ensure you have python install
brew install python
git clone git@github.com:laddeos/letsfreckle.git
- Create your virtualenv. command shown assumes virtualenv wrapper
mkvirtualenv letsfreckle
- Navigate to project and install dependencies
pip install -r requirements.txt
- Create a .env file in the root directory of your project
├── .env
├── .gitignore
├── README.md
├── freckle.py
├── log_freckle.py
├── readme_img
└── requirements.txt
- Save your Personal Freckle Token in the .env file
access_token='personal_token'
- Optional create an alias to easily navigate to the project folder to get you started toot sweet
alias letsfreckle="workon letsfreckle && cd <path_to_project>"
And you are all set!!!
- Once you are all setup, in the folder directory run below to view what is possible
python log_freckle -h
- Log for today
python log_freckle.py today 480 <Project> <Description/Tag>
- Log for any date as long as date is in the format yyyy-mm-dd
python log_freckle.py 2017-06-17 480 <Project> <Description/Tag>
- If you have the alias setup, you can always type the alias to easily navigate to the project and freckle away
That's all folks!!!!! 🐰
If you spot an error feel free to reach out to me or drop an issue and tag me. Bye for now