[PYTHON] How to install drobertadams / toggl-cli on Mac

Outline

  1. What is toggl-cli?
  2. Mac version of desktop app
  3. How to install
  4. Registration
  5. Download the tool
  6. Generate configuration file
  7. Edit the configuration file
  8. How to use
  9. Reference URI

What is toggl-cli?

An unofficial tool for using Toggl, a time clock web service, from the command line. (Maybe it helps you to remember the work you forgot later or to find wasted work time?)

toggl-cli calls Toggl's official API, and there are some similar tools.

In addition, Toggl can be used from points other than the command line tools introduced below. (In addition to web services, we also provide iPhone and desktop apps)

Toggl https://toggl.com/

Desktop app for Mac

The Mac version of the desktop app is available from the menu bar. Can be installed with brew cask install toggldesktop http://support.toggl.com/toggl-desktop-for-mac-osx/

Installation method

First registration

Toggl https://toggl.com/

Tool download etc.

The web page of toggl-cli is here. https://github.com/drobertadams/toggl-cli

The following command is the setting to place the tool in ʻApplications`

brew install python --framework
pip install iso8601
pip install pytz
pip install requests
pip install python-dateutil
cd /Applications/
git clone https://github.com/drobertadams/toggl-cli.git

Enables the toggl command to be used according to your terminal environment Open the file with vi ~ / .bash_profile etc. and add the following line

alias toggl="/Applications/toggl-cli/toggl.py"

Generation of configuration file

Execute toggl. A config file should be generated at the user's root.

Edit the configuration file

vi ~/.togglrc --username: The set email address --password: set password --api_token: When you access https://www.toggl.com/app/profile, it is written at the bottom.

toggl.png

How to Use

The operation image on the command line is as follows.

  1. toggl start writeBlog
  2. toggl stop

Please refer to the usage as it is written at the bottom of the following URL.

Quote: https://github.com/drobertadams/toggl-cli

Usage: toggl [OPTIONS] [ACTION]

Options:
  -h, --help     show this help message and exit
  -q, --quiet    don't print anything
  -v, --verbose  print additional info
  -d, --debug    print debugging output

Actions:
  add DESCR [@PROJECT] START_DATETIME ('d'DURATION | END_DATETIME)
      creates a completed time entry
  clients
      lists all clients
  continue DESCR
      restarts the given entry
  ls
      list recent time entries
  now
      print what you're working on now
  projects
      lists all projects
  rm ID
      delete a time entry by id
  start DESCR [@PROJECT] [DATETIME]
      starts a new entry
  stop [DATETIME]
      stops the current entry
  www
      visits toggl.com

  DURATION = [[Hours:]Minutes:]Seconds

Referenced URI

https://github.com/drobertadams/toggl-cli

http://www.clausconrad.com/blog/toggl-command-line-on-windows

http://stackoverflow.com/questions/11962714/installing-python-dateutil

Recommended Posts

How to install drobertadams / toggl-cli on Mac
How to install mysql-connector-python on mac
How to install OpenCV on Mac
Steps to install matplotlib on Mac
How to install graph-tool on macOS
How to install VMware-Tools on Linux
How to install pycrypto on Windows
How to install PyPy on CentOS
How to install TensorFlow on CentOS 7
How to install Maven on CentOS
Steps to install python3 on mac
How to install Go on Ubuntu
How to install music 21 on windows
How to install Theano on Mac OS X with homebrew
How to install aws-session-manager-plugin on Manajro Linux
[Kivy] How to install Kivy on Windows [Python]
How to erase Python 2.x on Mac.
How to install packages on Alpine Linux
How to install Anisble on Amazon Linux 2
How to install richzhang / colorization on Windows 10
How to install Apache (httpd) on CentOS7
How to install php7.4 on Linux (Ubuntu)
How to install Eclipse GlassFish 5.1.0 on CentOS 7
How to install Apache (httpd) on CentOS8
How to install NumPy on Raspberry Pi
How to install cx_Oracle on macOS Sierra
How to install Theano on Mac OS X 10.10 (using pyenv, anaconda)
Install pyenv on mac
How to install Python
How to install pip
How to install archlinux
Install Ansible on Mac
Install Python on Mac
How to install python
Install Python 3 on Mac
How to install BayesOpt
How to install Nbextensions
Install Python 3.4 on Mac
Install Caffe on Mac
Install mecab on mac
How to install Prover9
Install mecab-python on Mac
[2020 version] How to install Python3 on AWS EC2
How to install OpenCV on Jetson Nano Python
How to quickly install h5py on Windows 10 [Unofficial]
How to install OpenGM on OSX with macports
How to install Camunda Modeler on Manjaro Linux
[Python] How to install OpenCV on Anaconda [Windows]
How to install / verify graphviz on anaconda / windows10
How to install Deep Learning framework Caffe on Mac in CPU mode
[2020.8 latest] How to install Python
How to install Python [Windows]
Install pygame on python3.4 on mac
Tabpy 1.0 (2020-01 version) How to install
Steps to install the latest Python on your Mac
Very easy to install SciPy on Mac OS X
How to install Linux on a 32bit UEFI PC
How to install Git GUI and Gitk on CentOS
How to install caffe on OS X with macports
Install module on Anaconda (Mac)
Install OpenPose on mac (Catalina)